summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/dmxproto/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/abs/core/dmxproto/PKGBUILD b/abs/core/dmxproto/PKGBUILD
index 1ccffd6..42ee7fa 100644
--- a/abs/core/dmxproto/PKGBUILD
+++ b/abs/core/dmxproto/PKGBUILD
@@ -2,18 +2,23 @@
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=dmxproto
-pkgver=2.2.2
+pkgver=2.3
pkgrel=1
pkgdesc="X11 Distributed Multihead X extension wire protocol"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('d80acad88411e7944b9b085463d53302')
-sha1sums=('80c573166ec3b9f17893e2fff84ce0107045faac')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr
+ ./configure --prefix=/usr || return 1
make || return 1
+}
+package() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
make DESTDIR=${startdir}/pkg install || return 1
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
+md5sums=('880a41720b2937e2660dcdc0d34a8791')