summaryrefslogtreecommitdiff
path: root/user/libxscrnsaver/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 22:03:17 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-18 22:03:17 -0500
commit99d141b667b7e5af9833a181037f116e9fd8d90c (patch)
tree01645f5dc699b5c1346d4b77d06938a3c7640876 /user/libxscrnsaver/APKBUILD
parent1ca40d8ae502ace87d558a1d26d649366a3b0d34 (diff)
downloadpackages-99d141b667b7e5af9833a181037f116e9fd8d90c.tar.gz
packages-99d141b667b7e5af9833a181037f116e9fd8d90c.tar.bz2
packages-99d141b667b7e5af9833a181037f116e9fd8d90c.tar.xz
packages-99d141b667b7e5af9833a181037f116e9fd8d90c.zip
user/libxscrnsaver: pull in, take, bump to 1.2.3, fix
Diffstat (limited to 'user/libxscrnsaver/APKBUILD')
-rw-r--r--user/libxscrnsaver/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libxscrnsaver/APKBUILD b/user/libxscrnsaver/APKBUILD
new file mode 100644
index 000000000..f793c67d5
--- /dev/null
+++ b/user/libxscrnsaver/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxscrnsaver
+pkgver=1.2.3
+pkgrel=0
+pkgdesc="X.Org screen saver extension"
+url="https://cgit.freedesktop.org/xorg/lib/libXScrnSaver/"
+arch="all"
+license="X11"
+depends=""
+depends_dev="libxext-dev"
+makedepends="$depends_dev libx11-dev util-macros xorgproto-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/lib/libXScrnSaver-$pkgver.tar.bz2"
+builddir="$srcdir"/libXScrnSaver-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7ea628324a11b25ee82c7b11c6bf98f37de219354de51c1e29467b5de422669ba1ab121f3b9dc674093c8f3960e93c5d5428122f5539092f79bc8451c768354a libXScrnSaver-1.2.3.tar.bz2"