xzoom: fix license, update homepage and disfiles links, vsed

This commit is contained in:
Colin Booth 2021-06-30 19:25:46 -07:00 committed by Đoàn Trần Công Danh
parent 36f7aed8e1
commit 5603e19405

View file

@ -1,19 +1,19 @@
# Template file for 'xzoom'
pkgname=xzoom
version=0.3
revision=1
revision=2
hostmakedepends="imake"
makedepends="libXt-devel libXext-devel"
short_desc="Magnify part of X display, with real-time updates"
maintainer="Daniel Santana <daniel@santana.tech>"
license="Custom"
homepage="http://sunsite.unc.edu/pub/linux/libs/X/"
distfiles="http://webdiis.unizar.es/pub/unix/X11/${pkgname}-${version}.tgz"
license="custom:xzoom"
homepage="http://www.ibiblio.org/pub/linux/libs/X/"
distfiles="http://www.ibiblio.org/pub/linux/libs/X/xzoom-${version}.tgz"
checksum=b26bfd692d3e1d30e8d524d4018fc3f0fe847983a2778a4a2496784bfc2df44b
do_build() {
CC=cc xmkmf
sed -i "s@-O2@$CFLAGS@" ./Makefile
vsed -i "s@-O2@$CFLAGS@" ./Makefile
make CC=$CC CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
}