Преглед на файлове

gnome-shell and dependencies

Ionuț Mircea Bîru преди 15 години
ревизия
48e600c678
променени са 2 файла, в които са добавени 46 реда и са изтрити 0 реда
  1. 29 0
      PKGBUILD
  2. 17 0
      gnome-shell.install

+ 29 - 0
PKGBUILD

@@ -0,0 +1,29 @@
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Flamelab <panosfilip@gmail.com
+
+pkgname=gnome-shell
+pkgver=2.29.0
+pkgrel=1
+pkgdesc="The next generation GNOME Shell. Experimental, GNOME 3.0 version."
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/GnomeShell"
+license=('GPL2')
+depends=('gnome-desktop>=2.29.91' 'gnome-python' 'gnome-menus>=2.29.91' 'mutter>=2.29.0' 'librsvg' 'gjs>=0.5')
+makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.19.5' 'gir-repository')
+options=('!libtool' '!emptydirs')
+install=gnome-shell.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/2.29/gnome-shell-$pkgver.tar.bz2)
+sha256sums=('7429cd9689e1a2e302b1c23e06c576ee6b0542a7f1c72c4c0efce3d83842aa58')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc \
+   	--localstatedir=/var --disable-static || return 1
+  make || return 1
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+
+  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-shell ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
+  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}
+

+ 17 - 0
gnome-shell.install

@@ -0,0 +1,17 @@
+pkgname=gnome-shell
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}