blob: 27d84ee8b999d7a8c42b56ab7203bc237f3ea87d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}
|