diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/libxscrnsaver/APKBUILD | 40 |
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" |