diff options
author | Gnucco | 2015-06-21 15:58:05 +0200 |
---|---|---|
committer | Gnucco | 2015-06-21 15:58:05 +0200 |
commit | b30ef927b026b24ebeade3f7caf01be3d07c2eb2 (patch) | |
tree | 021f8485a1b94527a033e6bf664717086e7f35ca /PKGBUILD | |
download | aur-b30ef927b026b24ebeade3f7caf01be3d07c2eb2.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..54ca9f92cbe4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: pezcurrel <pezcurrel [at] tiscali.it> +# Contributor: Thomas Karmann <thomas [at] krmnn.de> + +pkgname=xzoom +pkgver=0.3 +pkgrel=4 +pkgdesc="a screen magnifier" +arch=('i686' 'x86_64') +url="ftp://sunsite.unc.edu/pub/linux/libs/X/" +license=('GPL') +depends=('libxt' 'libxext') +makedepends=('imake') +source=(ftp://sunsite.unc.edu/pub/linux/libs/X/$pkgname-$pkgver.tgz + ftp://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/x/xzoom/xzoom_0.3-23.diff.gz) +md5sums=('c6ecc5fade34cf46cbe8c00b93d7ac78' 'd3a397e24aba7025f94e264fea0906d0') +build() { + cd "$pkgname-$pkgver" + patch -Np1 < "$srcdir/xzoom_0.3-23.diff" + xmkmf + sed -i "s@-O2@$CFLAGS@" ./Makefile + make +} + +package() { + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install install.man +} |