diff options
Diffstat (limited to 'main/libxt/APKBUILD')
-rw-r--r-- | main/libxt/APKBUILD | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/main/libxt/APKBUILD b/main/libxt/APKBUILD index 967351dfdd..58d5ae5eab 100644 --- a/main/libxt/APKBUILD +++ b/main/libxt/APKBUILD @@ -1,43 +1,39 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxt pkgver=1.1.5 -pkgrel=0 +pkgrel=1 pkgdesc="X11 toolkit intrinsics library" url="http://xorg.freedesktop.org/" arch="all" license="custom" subpackages="$pkgname-dev $pkgname-doc" depends= -depends_dev="xproto libx11-dev libsm-dev" -makedepends="$depends_dev libice-dev e2fsprogs-dev" +depends_dev="libsm-dev" +makedepends="$depends_dev libice-dev libx11-dev util-macros xproto" +checkdepends="glib-dev" source="http://www.x.org/releases/individual/lib/libXt-$pkgver.tar.bz2 " -_builddir="$srcdir"/libXt-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir"/libXt-$pkgver -build () { - cd "$_builddir" +build() { + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --sysconfdir=/etc \ - || return 1 - make || return 1 + --sysconfdir=/etc + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make -j1 DESTDIR="$pkgdir" install } md5sums="8f5b5576fbabba29a05f3ca2226f74d3 libXt-1.1.5.tar.bz2" sha256sums="46eeb6be780211fdd98c5109286618f6707712235fdd19df4ce1e6954f349f1a libXt-1.1.5.tar.bz2" |