aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxcursor/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-05 23:11:49 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:53:39 +0000
commit86cc22122d07d479b36ee9a009b4c04961bcda33 (patch)
treeabd7d24797fca970e25bbb5fb9ab7d0f6b78e77e /main/libxcursor/APKBUILD
parent19cc207b0d4857c8638b856fd863d1875092f576 (diff)
downloadaports-86cc22122d07d479b36ee9a009b4c04961bcda33.tar.gz
aports-86cc22122d07d479b36ee9a009b4c04961bcda33.tar.bz2
aports-86cc22122d07d479b36ee9a009b4c04961bcda33.tar.xz
main/libxcursor: modernise, fix deps, mark no test suite
Diffstat (limited to 'main/libxcursor/APKBUILD')
-rw-r--r--main/libxcursor/APKBUILD27
1 files changed, 9 insertions, 18 deletions
diff --git a/main/libxcursor/APKBUILD b/main/libxcursor/APKBUILD
index f197a7cc4a..3150c82040 100644
--- a/main/libxcursor/APKBUILD
+++ b/main/libxcursor/APKBUILD
@@ -1,41 +1,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcursor
pkgver=1.1.14
-pkgrel=1
+pkgrel=2
pkgdesc="X cursor management library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
+options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
-depends_dev="xproto libx11-dev libxrender-dev libxfixes-dev"
-makedepends="$depends_dev"
+makedepends="util-macros xproto libx11-dev libxrender-dev libxfixes-dev"
source="http://www.x.org/releases/individual/lib/libXcursor-$pkgver.tar.bz2"
-_builddir="$srcdir"/libXcursor-$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"/libXcursor-$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
}
md5sums="1e7c17afbbce83e2215917047c57d1b3 libXcursor-1.1.14.tar.bz2"
sha256sums="9bc6acb21ca14da51bda5bc912c8955bc6e5e433f0ab00c5e8bef842596c33df libXcursor-1.1.14.tar.bz2"