void-packages/srcpkgs/gnome-shell-extensions/template

45 lines
1.4 KiB
Plaintext

# Template file for 'gnome-shell-extensions'
pkgname=gnome-shell-extensions
version=3.2.0
homepage="http://live.gnome.org/GnomeShell/Extensions"
distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz"
build_style=custom-install
short_desc="GNOME Shell extensions"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=dfbd5b7baed71219c6855c1b15c323b6e66a2163af8f9a1c2431d6ce90784f98
long_desc="
GNOME Shell Extensions is a collection of extensions providing additional
and optional functionality to GNOME Shell."
noarch=yes
subpackages="
${pkgname}-alternate-tab ${pkgname}-alternative-status-menu
${pkgname}-automove-windows ${pkgname}-dock ${pkgname}-native-window-placement
${pkgname}-windows-navigator ${pkgname}-user-theme ${pkgname}-places-menu
${pkgname}-system-monitor ${pkgname}-apps-menu ${pkgname}-workspace-indicator
${pkgname}-xrandr-indicator ${pkgname}-drive-menu"
Add_dependency run gnome-shell ">=${version}"
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gnome-desktop-devel
do_build()
{
local exts="alternate-tab windowsNavigator dock auto-move-windows \
drive-menu alternative-status-menu places-menu apps-menu \
native-window-placement systemMonitor workspace-indicator \
xrandr-indicator user-theme"
./configure --prefix=/usr --disable-schemas-compile \
--enable-extensions="${exts}"
cd po && make
}
do_install()
{
cd po && make DESTDIR=${DESTDIR} install
}