summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54ca9f92cbe45ee9cdf2d3e0825721c79ed66766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}