summaryrefslogtreecommitdiffstats
path: root/abs/not_built/core/libxtrap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/not_built/core/libxtrap/PKGBUILD')
-rw-r--r--abs/not_built/core/libxtrap/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/not_built/core/libxtrap/PKGBUILD b/abs/not_built/core/libxtrap/PKGBUILD
new file mode 100644
index 0000000..37427a3
--- /dev/null
+++ b/abs/not_built/core/libxtrap/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 4456 2008-07-07 16:29:51Z jgc $
+#Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libxtrap
+pkgver=1.0.0
+pkgrel=3
+pkgdesc="X11 event trapping extension library"
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://xorg.freedesktop.org/"
+depends=('libxext' 'libxt' 'trapproto')
+makedepends=('pkgconfig')
+options=(!libtool)
+source=(${url}/releases/individual/lib/libXTrap-${pkgver}.tar.bz2)
+md5sums=('1e2d966b5b2b89910e418bb0f78e10de')
+
+build() {
+ cd ${srcdir}/libXTrap-${pkgver}
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+package() {
+ cd ${srcdir}/libXTrap-${pkgver}
+ make DESTDIR=${pkgdir} install || return 1
+ install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
+ install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+}