From 923ec69371a3a909518f2176b05effd5b3d4f16d Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 20 Apr 2011 13:14:25 -0500 Subject: main/xscreensaver: moved from testing --- main/xscreensaver/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 main/xscreensaver/APKBUILD (limited to 'main/xscreensaver') diff --git a/main/xscreensaver/APKBUILD b/main/xscreensaver/APKBUILD new file mode 100644 index 0000000000..9b14a4f88d --- /dev/null +++ b/main/xscreensaver/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: William Pitcock +# Maintainer: William Pitcock +pkgname=xscreensaver +pkgver=5.13 +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 + libxml2-dev libglade-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 \ + --with-gtk \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make install_prefix="$pkgdir" install +} + +md5sums="a1a55b763e17c5c83a2b7cb5ddf23560 xscreensaver-5.13.tar.gz" -- cgit v1.2.3