diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-11-09 12:11:12 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-11-09 12:11:12 +0100 |
commit | f2bc091699e59f7d7cdab90cbba81d7b3f5ee1a8 (patch) | |
tree | 22d1fb6efd8e44e7acd5a26dcec758b18a5b77e2 /community | |
parent | 37cca00fbe335d8c84d772d4ea3323fa204bcd71 (diff) | |
download | aports-f2bc091699e59f7d7cdab90cbba81d7b3f5ee1a8.tar.bz2 aports-f2bc091699e59f7d7cdab90cbba81d7b3f5ee1a8.tar.xz |
main/gnome-desktop: move to community
Diffstat (limited to 'community')
-rw-r--r-- | community/gnome-desktop/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community/gnome-desktop/APKBUILD b/community/gnome-desktop/APKBUILD new file mode 100644 index 0000000000..8720e8cc6c --- /dev/null +++ b/community/gnome-desktop/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=gnome-desktop +pkgver=2.32.1 +pkgrel=6 +pkgdesc="GNOME deskop framework" +url="http://projects.gnome.org/gnome-panel" +arch="all" +license="GPL" +depends="python py-gtk" +depends_dev="gtk+-dev gconf-dev libx11-dev gnome-doc-utils libgnome-dev python-dev libxrandr-dev" +makedepends="$depends_dev intltool" +install= +subpackages="$pkgname-doc $pkgname-dev" +source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${pkgver}" + +prepare() { + local i + cd "$_builddir" + update_config_sub || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-gnome-distributor=Alpine \ + --disable-scrollkeeper \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="5c80d628a240eb9d9ff78913b31f2f67 gnome-desktop-2.32.1.tar.bz2" |