summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/compositeproto/PKGBUILD30
1 files changed, 18 insertions, 12 deletions
diff --git a/abs/core/compositeproto/PKGBUILD b/abs/core/compositeproto/PKGBUILD
index 9b1b56d..4a0754c 100644
--- a/abs/core/compositeproto/PKGBUILD
+++ b/abs/core/compositeproto/PKGBUILD
@@ -1,22 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 149390 2012-02-07 13:05:41Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
pkgname=compositeproto
-pkgver=0.4.1
-pkgrel=1
+pkgver=0.4.2
+pkgrel=2
pkgdesc="X11 Composite extension wire protocol"
-arch=(i686 x86_64)
+arch=('any')
url="http://xorg.freedesktop.org/"
-depends=(fixesproto)
+license=('custom')
+depends=('fixesproto')
+makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('aa7b5abcfd5bbfad7cb681ce89dc1d6e381e3044')
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 -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
-md5sums=('3692f3f8b2ea10dff3d2cede8dc65e79')