diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/libxcursor/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libxcursor/APKBUILD b/user/libxcursor/APKBUILD new file mode 100644 index 000000000..857cc5114 --- /dev/null +++ b/user/libxcursor/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libxcursor +pkgver=1.1.15 +pkgrel=1 +pkgdesc="X cursor management library" +url="https://www.X.Org/" +arch="all" +license="MIT" +subpackages="$pkgname-dev $pkgname-doc" +depends= +makedepends="libx11-dev libxfixes-dev libxrender-dev util-macros xorgproto-dev" +source="https://www.X.Org/releases/individual/lib/libXcursor-$pkgver.tar.bz2" +builddir="$srcdir"/libXcursor-$pkgver + +# secfixes: +# 1.1.15-r0: +# - CVE-2017-16612 + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="53ad0fa2afd7b4cf1108b560e44ea71abdf5c55a18df243d7123942513589c927f5c105395f790d8769959e0129db54264e6aac7efd51a5f1aec270379b1f2f5 libXcursor-1.1.15.tar.bz2" |