mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
742 B
Bash
25 lines
742 B
Bash
|
# $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
|
||
|
}
|