summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/damageproto/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/abs/core/damageproto/PKGBUILD b/abs/core/damageproto/PKGBUILD
index 14f6122..870efcd 100644
--- a/abs/core/damageproto/PKGBUILD
+++ b/abs/core/damageproto/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 51004 2009-09-04 13:03:02Z jgc $
+# $Id: PKGBUILD 97557 2010-10-31 15:48:11Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=damageproto
-pkgver=1.2.0
+pkgver=1.2.1
pkgrel=1
pkgdesc="X11 Damage extension wire protocol"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xproto' 'fixesproto')
+makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('ffe177a6ae2cf023d41e015aa6ece2b191cb8a8a')
+sha1sums=('bd0f0f4dc8f37eaabd9279d10fe2889710507358')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ ./configure --prefix=/usr
+ make
+}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
+