summaryrefslogtreecommitdiff
path: root/user/xscreensaver/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xscreensaver/APKBUILD')
-rw-r--r--user/xscreensaver/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xscreensaver/APKBUILD b/user/xscreensaver/APKBUILD
new file mode 100644
index 000000000..ec875ee16
--- /dev/null
+++ b/user/xscreensaver/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xscreensaver
+pkgver=5.42
+pkgrel=0
+pkgdesc="X Screensaver suite"
+url="https://www.jwz.org/xscreensaver/"
+arch="all"
+options="!check suid" # no tests
+license="MIT"
+depends=""
+makedepends="gtk+2.0-dev intltool libglade-dev libice-dev libjpeg-turbo-dev
+ libx11-dev libxft-dev libxinerama-dev libxml2-dev libxml2-utils
+ libxrandr-dev libxt-dev linux-pam-dev mesa-dev mesa-glapi"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://www.jwz.org/xscreensaver/xscreensaver-$pkgver.tar.gz
+ xscreensaver-fixes.patch"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make install_prefix="$pkgdir" install
+}
+
+sha512sums="84cde9364c933de720acd51a0bf75eb4d0642d60f62b92de89d932233eb5abb51e1edb53cd413b2dc4801a02cb68652a28d7d1f83cdaa8d8cdd1fee7d651eefd xscreensaver-5.42.tar.gz
+1df5d3a1456990eb0b2a9efb65fcd26ce576e470a0d6ee268e84e4b399dda930f5ed0960d185e55a7fdab10e5dc42fa2c90060b16443954ec2fce306c8855b54 xscreensaver-fixes.patch"