[arch-commits] Commit in lightsoff/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 20:16:06 UTC 2016
Date: Tuesday, September 27, 2016 @ 20:16:05
Author: heftig
Revision: 277159
3.22.0+2+ga5dbe9b-1
Modified:
lightsoff/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 20:15:39 UTC (rev 277158)
+++ PKGBUILD 2016-09-27 20:16:05 UTC (rev 277159)
@@ -3,23 +3,31 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=lightsoff
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.22.0+2+ga5dbe9b
+pkgrel=1
pkgdesc="Turn off all the lights"
url="https://wiki.gnome.org/Apps/Lightsoff"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('clutter-gtk' 'librsvg')
-makedepends=('intltool' 'itstool' 'gobject-introspection')
-conflicts=('gnome-games')
-replaces=('gnome-games')
-options=('!emptydirs')
-groups=('gnome-extra')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('d3603891afe7ca3b3b2c509cad3e32ef6cdac3a7e80fff3b48ca72ea739852bf')
+arch=(i686 x86_64)
+license=(GPL)
+depends=(clutter-gtk librsvg)
+makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git)
+groups=(gnome-extra)
+_commit=a5dbe9bdf5d6280f75e3e7e7a52070efcde2e6ba # master
+source=("git://git.gnome.org/lightsoff#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-schemas-compile
make
@@ -26,6 +34,6 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list