summaryrefslogtreecommitdiffstats
path: root/abs/core/xineramaproto/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xineramaproto/PKGBUILD')
-rw-r--r--abs/core/xineramaproto/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/abs/core/xineramaproto/PKGBUILD b/abs/core/xineramaproto/PKGBUILD
index 2ce1b5d..68c7965 100644
--- a/abs/core/xineramaproto/PKGBUILD
+++ b/abs/core/xineramaproto/PKGBUILD
@@ -1,21 +1,25 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 151186 2012-02-25 07:05:52Z allan $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xineramaproto
-pkgver=1.2
-pkgrel=1
+pkgver=1.2.1
+pkgrel=2
pkgdesc="X11 Xinerama extension wire protocol"
-arch=(i686 x86_64)
+arch=('any')
url="http://xorg.freedesktop.org/"
+license=('custom')
+makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('818bffc16139d6e3de4344c83f00c495d3536753')
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 -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
-md5sums=('a8aadcb281b9c11a91303e24cdea45f5')