# $Id: PKGBUILD 97693 2013-09-27 16:05:09Z bgyorgy $ # Maintainer: Balló György # Contributor: Jan de Groot pkgbase=gnome-panel pkgname=('gnome-panel' 'gnome-flashback-session') pkgver=3.8.0 pkgrel=1 arch=('i686' 'x86_64') license=('GPL') pkgdesc="Legacy GNOME panel" url="https://live.gnome.org/GnomePanel" depends=('dconf' 'evolution-data-server' 'gconf' 'gnome-desktop' 'gnome-menus' 'librsvg' 'libwnck3' 'telepathy-glib') makedepends=('gobject-introspection' 'intltool' 'itstool' 'networkmanager') install=$pkgbase.install options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver:0:3}/$pkgbase-$pkgver.tar.xz session.patch) sha256sums=('d1cda458a38cb4f7d2a50c61b1a72f4bf4c39cab65ae0e6cfdc4e0c122252e7a' 'cd4c21cf394ea5a702c660bb0d31cae31260bec1cee4e7ca8ee6c8aec2707ebb') prepare() { cd "$pkgbase-$pkgver" # Add more required components to the session file patch -Np1 -i "$srcdir/session.patch" } build() { cd "$pkgbase-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgbase \ --disable-static --disable-schemas-compile \ PYTHON=/usr/bin/python2 make } package_gnome-panel() { cd "$pkgbase-$pkgver" make DESTDIR="$pkgdir" install # Split out the session files rm -r "$pkgdir"/usr/{lib/gnome-panel/gnome-*,share/{gnome-session,xsessions}} } package_gnome-flashback-session() { pkgdesc="Shell for Gnome 3 which was initially called Gnome Fallback" url="https://live.gnome.org/GnomeFlashback" depends=('gnome-screensaver' 'gnome-panel' 'gnome-session' 'gnome-settings-daemon' 'gnome-settings-daemon-compat' 'gnome-themes-standard' 'metacity' 'notification-daemon' 'polkit-gnome') install= cd "$pkgbase-$pkgver" make -C gnome-panel DESTDIR="$pkgdir" install-libexecSCRIPTS make -C data DESTDIR="$pkgdir" install-sessionDATA make -C data DESTDIR="$pkgdir" install-xsessionDATA }