summaryrefslogtreecommitdiffstats
path: root/main/gnome-screensaver/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:30:36 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:30:36 -0600
commit4f1f5319cf84f679c7eca011cec0fa216d2110a8 (patch)
tree5a4a1de6b09be40f7372341995d2db885e6f2239 /main/gnome-screensaver/APKBUILD
parentec5f73dfdbd4663c9e15a45f77f07a471247520b (diff)
downloadaports-4f1f5319cf84f679c7eca011cec0fa216d2110a8.tar.bz2
aports-4f1f5319cf84f679c7eca011cec0fa216d2110a8.tar.xz
testing/gnome-screensaver: promote to main
Diffstat (limited to 'main/gnome-screensaver/APKBUILD')
-rw-r--r--main/gnome-screensaver/APKBUILD64
1 files changed, 64 insertions, 0 deletions
diff --git a/main/gnome-screensaver/APKBUILD b/main/gnome-screensaver/APKBUILD
new file mode 100644
index 000000000..2e9e63b48
--- /dev/null
+++ b/main/gnome-screensaver/APKBUILD
@@ -0,0 +1,64 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=gnome-screensaver
+pkgver=2.30.2
+pkgrel=0
+pkgdesc="GNOME screensaver collection"
+url="http://www.gnome.org"
+arch="all"
+license="GPL"
+depends=
+depends_dev="gtk+-dev
+ gconf-dev
+ libx11-dev
+ gnome-doc-utils
+ libgnome-dev
+ libwnck-dev
+ libnotify-dev
+ libunique-dev
+
+ gnome-desktop-dev
+ gnome-menus-dev
+
+ libxcursor-dev
+ libxcomposite-dev
+ libxi-dev
+ libxau-dev
+ libxdmcp-dev
+ libxext-dev
+ libxcb-dev
+ libxrender-dev
+ libxrandr-dev"
+makedepends="$depends_dev intltool gobject-introspection"
+install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
+subpackages=
+source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-applets \
+ --disable-scrollkeeper || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="0fbe6e610e6847ac1e69d49b1e1f0582 gnome-screensaver-2.30.2.tar.bz2"