diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-17 16:33:00 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:53:38 +0000 |
commit | 82a43f1ebbbfa9815ad2a9266ef5c939448fbeaa (patch) | |
tree | db2f9ab9730bf0b63bc1fe20e5885c4d14f62d2b /main/libxres | |
parent | fdc590f23a4882735f8d4408fe406fdb089d99e7 (diff) | |
download | aports-82a43f1ebbbfa9815ad2a9266ef5c939448fbeaa.tar.bz2 aports-82a43f1ebbbfa9815ad2a9266ef5c939448fbeaa.tar.xz |
main/libxres: modernise, fix deps, mark no test
Diffstat (limited to 'main/libxres')
-rw-r--r-- | main/libxres/APKBUILD | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/main/libxres/APKBUILD b/main/libxres/APKBUILD index 258d746565..aeedeaadbb 100644 --- a/main/libxres/APKBUILD +++ b/main/libxres/APKBUILD @@ -1,42 +1,34 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libxres pkgver=1.0.7 -pkgrel=0 +pkgrel=1 pkgdesc="X11 Resource extension library" url="http://xorg.freedesktop.org" arch="all" license="custom" +options="!check" # No test suite. subpackages="$pkgname-dev $pkgname-doc" depends= -depends_dev="xproto resourceproto libx11-dev libxext-dev" -makedepends="$depends_dev" +depends_dev="resourceproto" +makedepends="$depends_dev libx11-dev libxext-dev util-macros xproto" source="http://www.x.org/releases/individual/lib/libXres-$pkgver.tar.bz2 " -_builddir="$srcdir"/libXres-$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"/libXres-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --sysconfdir=/etc \ - || return 1 - make || return 1 + --sysconfdir=/etc + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |