1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
4 pkgver=2015.2+4+gd606bec
6 pkgdesc='"Copylib" for system service modules using GLib with GCC'
7 url="https://wiki.gnome.org/Projects/LibGSystem"
10 depends=(glib2 systemd-libs attr)
11 makedepends=(gobject-introspection gtk-doc systemd git)
12 _commit=d606bec68ddfea78de4b03c3f3568afb71bdc1ce # master
13 source=("git+https://gitlab.gnome.org/Archive/libgsystem.git#commit=$_commit"
14 "git+https://gitlab.gnome.org/GNOME/libglnx.git")
20 git describe --tags | sed 's/^v//;s/-/+/g'
26 # Fix header file location
27 sed -i 's|attr/xattr|sys/xattr|g' configure.ac
30 git config --local submodule.libglnx.url "$srcdir/libglnx"
33 NOCONFIGURE=1 ./autogen.sh
38 ./configure --prefix=/usr --disable-static --enable-gtk-doc
49 make DESTDIR="$pkgdir" install