summaryrefslogtreecommitdiff
path: root/extra/libxdamage
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
committerroot <root@rshg054.dnsready.net>2012-02-18 23:15:35 +0000
commit1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (patch)
tree24f65718bdb292fc62194464db8bee1348c48ee5 /extra/libxdamage
parentb31146f2405c7d0f50bcc36b682af46be84cdeb8 (diff)
Sat Feb 18 23:15:35 UTC 2012
Diffstat (limited to 'extra/libxdamage')
-rw-r--r--extra/libxdamage/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/libxdamage/PKGBUILD b/extra/libxdamage/PKGBUILD
index 231b4ce2d..c33c0b605 100644
--- a/extra/libxdamage/PKGBUILD
+++ b/extra/libxdamage/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 82169 2010-06-09 06:52:23Z jgc $
+# $Id: PKGBUILD 150392 2012-02-17 11:26:19Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxdamage
pkgver=1.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="X11 damaged region extension library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes>=4.0.4' 'damageproto>=1.2.0')
@@ -16,9 +16,12 @@ sha1sums=('7d96e8de107fede16951cb47d5e147630fbc7dee')
build() {
cd "${srcdir}/libXdamage-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/libXdamage-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}