blob: 397097009ed2d64a1431b625cde6033638d9c17f (
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
27
28
29
30
31
32
|
# Maintainer: pezcurrel <pezcurrel [at] tiscali.it>
# Contributor: Thomas Karmann <thomas [at] krmnn.de>
pkgname=xzoom
pkgver=0.3
pkgrel=6
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=("http://webdiis.unizar.es/pub/unix/X11/xzoom-0.3.tgz"
"ftp://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/x/xzoom/xzoom_0.3-23.diff.gz")
md5sums=("c6ecc5fade34cf46cbe8c00b93d7ac78" "d3a397e24aba7025f94e264fea0906d0")
prepare() {
cd "$srcdir"
gzip -f -d "xzoom_0.3-23.diff.gz"
}
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
}
|