[arch-commits] Commit in lightsoff/repos (2 files)

Jan Steffens heftig at archlinux.org
Wed Mar 14 19:00:07 UTC 2018


    Date: Wednesday, March 14, 2018 @ 19:00:07
  Author: heftig
Revision: 319028

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  lightsoff/repos/gnome-unstable-x86_64/
  lightsoff/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 319027, lightsoff/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: lightsoff/repos/gnome-unstable-x86_64/PKGBUILD (from rev 319027, lightsoff/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2018-03-14 19:00:07 UTC (rev 319028)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=lightsoff
+pkgver=3.28.0+1+g2167aa4
+pkgrel=1
+pkgdesc="Turn off all the lights"
+url="https://wiki.gnome.org/Apps/Lightsoff"
+arch=(x86_64)
+license=(GPL)
+depends=(clutter-gtk librsvg)
+makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git)
+groups=(gnome-extra)
+_commit=2167aa4d32a2155aaac937ff4583870fbed0d497  # master
+source=("git+https://git.gnome.org/browse/lightsoff#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+      --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list