summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2010-12-28 21:56:05 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2010-12-28 21:56:05 -0600
commit5ad77c8ade468b5e06950f5007a99c5a5b73dd07 (patch)
treef50583bf31c9ed562162885104c6edbb0b407676 /testing
parent8a608d1cd5a9291dace8d764625b330be1734af7 (diff)
downloadaports-5ad77c8ade468b5e06950f5007a99c5a5b73dd07.tar.bz2
aports-5ad77c8ade468b5e06950f5007a99c5a5b73dd07.tar.xz
testing/xscreensaver: new aport.
Diffstat (limited to 'testing')
-rw-r--r--testing/xscreensaver/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/xscreensaver/APKBUILD b/testing/xscreensaver/APKBUILD
new file mode 100644
index 000000000..5f0f63bdf
--- /dev/null
+++ b/testing/xscreensaver/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=xscreensaver
+pkgver=5.12
+pkgrel=0
+pkgdesc="screensavers for X11 environment"
+url="http://www.jwz.org/xscreensaver/"
+license="GPL"
+depends="bc"
+makedepends="gtk+-dev jpeg-dev mesa-dev gettext-dev libxmu-dev perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.gz"
+arch="all"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ export LIBS="-lintl"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make install_prefix="$pkgdir" install
+}
+
+md5sums="0345c1acb9280729de05c5ca44b401e3 xscreensaver-5.12.tar.gz"