summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:33:47 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:33:47 (GMT)
commita11bba9ddfadd666fd3116eb54ef2dd8b72f82c3 (patch)
treecf97f80b7f21b043c8a4cf175c65fa8f5e8da3a8
parenta636637b2cc2c3232112fd9c12fb9002068b9ddb (diff)
downloadlinhes_pkgbuild-a11bba9ddfadd666fd3116eb54ef2dd8b72f82c3.zip
linhes_pkgbuild-a11bba9ddfadd666fd3116eb54ef2dd8b72f82c3.tar.gz
linhes_pkgbuild-a11bba9ddfadd666fd3116eb54ef2dd8b72f82c3.tar.bz2
compositproto 0.4.2
-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')