# $Id: PKGBUILD 236642 2015-04-15 07:56:51Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=gnome-shell-extensions
pkgver=3.16.1
pkgrel=1
pkgdesc="Extensions for GNOME shell, including classic mode"
arch=(any)
url="http://live.gnome.org/GnomeShell/Extensions"
license=(GPL2)
depends=(gnome-shell)
makedepends=(intltool)
optdepends=('nautilus: gnome-classic session')
install=gnome-shell-extensions.install
groups=('gnome')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
sha256sums=('88cd3d2df1f0419066a7f01f28ee4fc8f8c4b361dbf44a93067166c8a796a741')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --libexecdir=/usr/lib/gnome-session --enable-extensions=all
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
