summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/resourceproto/PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/abs/core/resourceproto/PKGBUILD b/abs/core/resourceproto/PKGBUILD
index 83da309..9cf222b 100644
--- a/abs/core/resourceproto/PKGBUILD
+++ b/abs/core/resourceproto/PKGBUILD
@@ -1,21 +1,27 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 151336 2012-02-25 14:40:00Z pierre $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=resourceproto
-pkgver=1.1.0
-pkgrel=1
+pkgver=1.2.0
+pkgrel=2
pkgdesc="X11 Resource extension wire protocol"
-arch=(i686 x86_64)
+arch=('any')
url="http://xorg.freedesktop.org/"
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+license=('custom')
+makedepends=('xorg-util-macros')
+source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('9ff9bb9243b0474330959dc3853973523c9dd9ce')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
- make || return 1
+ make
}
+
package() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- make DESTDIR=${startdir}/pkg install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
-md5sums=('84795594b3ebd2ee2570cf93340d152c')