diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2024-12-15 10:38:09 -0800 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-12-24 02:43:23 +0000 |
commit | f1980888be83bcd3a7f5525991687fb707e592ae (patch) | |
tree | 8a2bc05a15693ae72d16aa5deb9213a921d150e9 /user | |
parent | 0d1d6ad619e32f9191b5095a5b3bae49fce175ef (diff) | |
download | packages-f1980888be83bcd3a7f5525991687fb707e592ae.tar.gz packages-f1980888be83bcd3a7f5525991687fb707e592ae.tar.bz2 packages-f1980888be83bcd3a7f5525991687fb707e592ae.tar.xz packages-f1980888be83bcd3a7f5525991687fb707e592ae.zip |
user/libxpresent: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/libxpresent/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/libxpresent/APKBUILD b/user/libxpresent/APKBUILD new file mode 100644 index 000000000..3dc280ea0 --- /dev/null +++ b/user/libxpresent/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=libxpresent +pkgver=1.0.1 +pkgrel=0 +pkgdesc="Library for the X Present extension" +url="https://www.x.org/" +arch="all" +license="X11" +depends="" +makedepends="libx11-dev libxfixes-dev libxrandr-dev xorgproto-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://xorg.freedesktop.org/releases/individual/lib/libXpresent-$pkgver.tar.xz" +builddir="$srcdir/libXpresent-$pkgver" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="a4551f49a68f4487eb70dc5b50b7f745fbc8b6842cfa60422afe3834af41c504a37bcfddb4e7e9ee084b250df256034290776c8eb7d8838e392eb626fff55d25 libXpresent-1.0.1.tar.xz" |