Date: Tuesday, April 2, 2013 @ 13:01:49 Author: jgc Revision: 181194 Add new game
Added: lightsoff/ lightsoff/repos/ lightsoff/trunk/ lightsoff/trunk/PKGBUILD lightsoff/trunk/lightsoff.install -------------------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ lightsoff.install | 13 +++++++++++++ 2 files changed, 45 insertions(+) Added: lightsoff/trunk/PKGBUILD =================================================================== --- lightsoff/trunk/PKGBUILD (rev 0) +++ lightsoff/trunk/PKGBUILD 2013-04-02 11:01:49 UTC (rev 181194) @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 168943 2012-10-16 16:31:44Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> +# Contributor: Jan de Groot <[email protected]> + +pkgname=lightsoff +pkgver=3.8.0 +pkgrel=1 +pkgdesc="Turn off all the lights" +arch=('i686' 'x86_64') +license=('GPL') +depends=('desktop-file-utils' 'hicolor-icon-theme' 'clutter-gtk' 'librsvg') +makedepends=('intltool' 'itstool' 'gobject-introspection') +conflicts=('gnome-games') +replaces=('gnome-games') +options=('!emptydirs' '!libtool') +install=lightsoff.install +url="https://live.gnome.org/Lightsoff" +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('767f7876c6f360b0e3c18243c7e2201ea0a31523df890853a572d0325d91c24b') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-schemas-compile + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Added: lightsoff/trunk/lightsoff.install =================================================================== --- lightsoff/trunk/lightsoff.install (rev 0) +++ lightsoff/trunk/lightsoff.install 2013-04-02 11:01:49 UTC (rev 181194) @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -f -q usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
