[arch-commits] Commit in accountsservice/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Tue Sep 20 10:11:52 UTC 2016
Date: Tuesday, September 20, 2016 @ 10:11:52
Author: jgc
Revision: 276735
upgpkg: accountsservice 0.6.42+11+g653c18f-1
Modified:
accountsservice/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-20 10:08:27 UTC (rev 276734)
+++ PKGBUILD 2016-09-20 10:11:52 UTC (rev 276735)
@@ -3,31 +3,38 @@
# Contributor: Ionut Biru <ibiru at archlinux.org>
pkgname=accountsservice
-pkgver=0.6.42
+pkgver=0.6.42+11+g653c18f
pkgrel=1
pkgdesc="D-Bus interface for user account query and manipulation"
-url="http://www.freedesktop.org/software/accountsservice/"
+url="https://www.freedesktop.org/software/accountsservice/"
arch=(i686 x86_64)
license=(GPL3)
depends=(glib2 polkit systemd)
-makedepends=(intltool gobject-introspection python2 gtk-doc xmlto)
-source=("$url/$pkgname-$pkgver.tar.xz")
-sha256sums=('e56494c2f18627900b57234e5628923cc16a37bf8fd16b06c46118d6ae9c007e')
+makedepends=(intltool gtk-doc gobject-introspection git)
+_commit=653c18f4c3e93c4b742efe10093fc5b1319b1f0b
+source=("git://anongit.freedesktop.org/accountsservice#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib/$pkgname --disable-static --enable-gtk-doc \
- --enable-docbook-docs
+ --libexecdir=/usr/lib/$pkgname --disable-static --enable-gtk-doc
make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list