From 4f1f5319cf84f679c7eca011cec0fa216d2110a8 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 24 Jan 2011 11:30:36 -0600 Subject: testing/gnome-screensaver: promote to main --- main/gnome-screensaver/APKBUILD | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 main/gnome-screensaver/APKBUILD (limited to 'main/gnome-screensaver/APKBUILD') diff --git a/main/gnome-screensaver/APKBUILD b/main/gnome-screensaver/APKBUILD new file mode 100644 index 0000000000..2e9e63b48b --- /dev/null +++ b/main/gnome-screensaver/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: William Pitcock +# Maintainer: William Pitcock +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" -- cgit v1.2.3