summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/trapproto/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/abs/core/trapproto/PKGBUILD b/abs/core/trapproto/PKGBUILD
index 0744d52..9f6830c 100644
--- a/abs/core/trapproto/PKGBUILD
+++ b/abs/core/trapproto/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trapproto
pkgver=3.4.3
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Trap extension wire protocol"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
@@ -12,8 +12,11 @@ md5sums=('3b713239e5e6b269b31cb665563358df')
sha1sums=('b108aa39a7bfde530d5cd347fda7c58770d5b8da')
build() {
- cd $startdir/src/${pkgname}-$pkgver
+ cd ${srcdir}/${pkgname}-$pkgver
./configure --prefix=/usr
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+}
+package() {
+ cd ${srcdir}/${pkgname}-$pkgver
+ make DESTDIR=${pkgdir} install || return 1
}