diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-24 11:30:36 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-24 11:30:36 -0600 |
commit | 4f1f5319cf84f679c7eca011cec0fa216d2110a8 (patch) | |
tree | 5a4a1de6b09be40f7372341995d2db885e6f2239 /main/gnome-screensaver | |
parent | ec5f73dfdbd4663c9e15a45f77f07a471247520b (diff) | |
download | aports-4f1f5319cf84f679c7eca011cec0fa216d2110a8.tar.bz2 aports-4f1f5319cf84f679c7eca011cec0fa216d2110a8.tar.xz |
testing/gnome-screensaver: promote to main
Diffstat (limited to 'main/gnome-screensaver')
-rw-r--r-- | main/gnome-screensaver/APKBUILD | 64 | ||||
-rw-r--r-- | main/gnome-screensaver/gnome-screensaver.post-install | 7 | ||||
-rw-r--r-- | main/gnome-screensaver/gnome-screensaver.post-upgrade | 7 | ||||
-rw-r--r-- | main/gnome-screensaver/gnome-screensaver.pre-deinstall | 7 |
4 files changed, 85 insertions, 0 deletions
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 <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" diff --git a/main/gnome-screensaver/gnome-screensaver.post-install b/main/gnome-screensaver/gnome-screensaver.post-install new file mode 100644 index 0000000000..49ca99c158 --- /dev/null +++ b/main/gnome-screensaver/gnome-screensaver.post-install @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in gnome-screensaver.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/main/gnome-screensaver/gnome-screensaver.post-upgrade b/main/gnome-screensaver/gnome-screensaver.post-upgrade new file mode 100644 index 0000000000..49ca99c158 --- /dev/null +++ b/main/gnome-screensaver/gnome-screensaver.post-upgrade @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in gnome-screensaver.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/main/gnome-screensaver/gnome-screensaver.pre-deinstall b/main/gnome-screensaver/gnome-screensaver.pre-deinstall new file mode 100644 index 0000000000..1aebff8243 --- /dev/null +++ b/main/gnome-screensaver/gnome-screensaver.pre-deinstall @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in gnome-screensaver.schemas; do + echo "Uninstalling GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null +done |