summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core-testing/libxt/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/abs/core-testing/libxt/PKGBUILD b/abs/core-testing/libxt/PKGBUILD
index 1d1ab51..86695f7 100644
--- a/abs/core-testing/libxt/PKGBUILD
+++ b/abs/core-testing/libxt/PKGBUILD
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 73000 2010-03-21 17:33:15Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxt
-pkgver=1.0.5
+pkgver=1.0.8
pkgrel=1
pkgdesc="X11 toolkit intrinsics library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
+license=('custom')
depends=('libsm' 'libx11')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXt-${pkgver}.tar.bz2)
-md5sums=('f3bdd67785ace8cd0b23249e9d8c9975')
+sha1sums=('d5e3dfba90a12169771399b3e2ccae07243489c9')
build() {
- cd ${startdir}/src/libXt-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc \
- --build=${CHOST} --host=${CHOST} \
- --disable-install-makestrs
+ cd "${srcdir}/libXt-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+
+# install custom license
+ install -Dm644 "${srcdir}/libXt-${pkgver}/COPYING" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
}