Date: Wednesday, October 21, 2015 @ 03:19:33 Author: heftig Revision: 249590
2015.2 Modified: libgsystem/trunk/PKGBUILD ----------+ PKGBUILD | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-10-21 01:15:53 UTC (rev 249589) +++ PKGBUILD 2015-10-21 01:19:33 UTC (rev 249590) @@ -2,29 +2,39 @@ # Maintainer: Jan Alexander Steffens (heftig) <[email protected]> pkgname=libgsystem -pkgver=2015.1 +pkgver=2015.2 pkgrel=1 pkgdesc='"Copylib" for system service modules using GLib with GCC' url="https://wiki.gnome.org/Projects/LibGSystem" license=(GPL2) arch=(i686 x86_64) -depends=(glib2 libsystemd) -makedepends=(gobject-introspection gtk-doc systemd) -source=(https://git.gnome.org/browse/$pkgname/snapshot/$pkgname-$pkgver.tar.xz) -sha256sums=('d94d49d8980329b0e5b7d393326e693f6242772aa4cd012b5eff802b615eb15c') +depends=(glib2 libsystemd attr) +makedepends=(gobject-introspection gtk-doc systemd git) +source=("git://git.gnome.org/libgsystem#tag=v$pkgver" + "git://git.gnome.org/libglnx") +sha256sums=('SKIP' + 'SKIP') +prepare() { + cd $pkgname + git submodule init + git config --local submodule.libglnx.url "$srcdir/libglnx" + git submodule update + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd $pkgname-$pkgver - ./autogen.sh --prefix=/usr --disable-static + cd $pkgname + ./configure --prefix=/usr --disable-static --enable-gtk-doc make } check() { - cd $pkgname-$pkgver + cd $pkgname make check } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install }
