diff options
Diffstat (limited to 'main/libxext')
-rw-r--r-- | main/libxext/APKBUILD | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/main/libxext/APKBUILD b/main/libxext/APKBUILD index bac8f86604..bb0579aec2 100644 --- a/main/libxext/APKBUILD +++ b/main/libxext/APKBUILD @@ -1,43 +1,36 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxext pkgver=1.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="X11 miscellaneous extensions library" url="http://xorg.freedesktop.org/" arch="all" license="custom" depends= -depends_dev="libx11-dev libxau-dev" -makedepends="$depends_dev xproto" +depends_dev="libxau-dev" +makedepends="$depends_dev libx11-dev xproto util-macros xmlto" subpackages="$pkgname-dev $pkgname-doc" +options="!check" source="http://www.x.org/releases/individual/lib/libXext-$pkgver.tar.bz2 " - -_builddir="$srcdir"/libXext-$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"/libXext-$pkgver build() { - cd "$srcdir"/libXext-$pkgver + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ - || return 1 + --with-xmlto \ + --without-fop make } package() { - cd "$srcdir"/libXext-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } md5sums="52df7c4c1f0badd9f82ab124fb32eb97 libXext-1.3.3.tar.bz2" sha256sums="b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35 libXext-1.3.3.tar.bz2" |