summaryrefslogtreecommitdiffstats
path: root/abs/not_built/core/libxtrap/PKGBUILD
blob: 37427a3a5340f96052bb280e5843629553daa599 (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
25
26
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
}