diff options
Diffstat (limited to 'abs/core/libxtrap')
-rw-r--r-- | abs/core/libxtrap/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/core/libxtrap/PKGBUILD b/abs/core/libxtrap/PKGBUILD new file mode 100644 index 0000000..27d84ee --- /dev/null +++ b/abs/core/libxtrap/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 4456 2008-07-07 16:29:51Z jgc $ +#Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libxtrap +pkgver=1.0.0 +pkgrel=2 +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 + make DESTDIR=${pkgdir} install || return 1 + install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} + install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 +} |