diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-30 07:40:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-30 07:40:04 +0000 |
commit | f8fe3f6134474195a5fd2349622c49c1626405eb (patch) | |
tree | c2a354fa691c96c8e60b5f7779fdf28f05deb8fe /community/libxpresent/APKBUILD | |
parent | 0162297388e005782cf6577a950a1e4d6707ead1 (diff) | |
download | aports-f8fe3f6134474195a5fd2349622c49c1626405eb.tar.bz2 aports-f8fe3f6134474195a5fd2349622c49c1626405eb.tar.xz |
community/libxpresent: new aport needed by xfwm4
A Xlib-compatible API for the Present extension
Diffstat (limited to 'community/libxpresent/APKBUILD')
-rw-r--r-- | community/libxpresent/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/libxpresent/APKBUILD b/community/libxpresent/APKBUILD new file mode 100644 index 0000000000..9eb4b110ca --- /dev/null +++ b/community/libxpresent/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxpresent +pkgver=1.0.0 +pkgrel=0 +pkgdesc="A Xlib-compatible API for the Present extension" +url="http://xorg.freedesktop.org/" +arch="all" +license="MIT" +options="!check" # No test suite. +depends= +makedepends="xorgproto libx11-dev libxext-dev libxfixes-dev libxrandr-dev + util-macros" +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.x.org/releases/individual/lib/libXpresent-$pkgver.tar.bz2" + +builddir="$srcdir"/libXpresent-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="e88b4ec4fcbc0417a0cbecc0ecd73f8085c496dc6d1a4902b6550750a69a1cb8bb76c436c7941ee3bf3c61ffc85bbd8f8327fca30f14815dbef1cd53bb8db16b libXpresent-1.0.0.tar.bz2" |