diff options
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..18b77e0eccaf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +# Generated by mksrcinfo v8 +# Fri Feb 10 00:13:35 UTC 2017 +pkgbase = libxfce4util-git + pkgdesc = Basic utility non-GUI functions for Xfce + pkgver = 4.12.1.r15.g47db2f8 + pkgrel = 1 + url = http://git.xfce.org/xfce/libxfce4util/tree/README + arch = i686 + arch = x86_64 + groups = xfce4-git + license = GPL2 + makedepends = git + makedepends = xfce4-dev-tools + depends = glib2 + provides = libxfce4util=4.12.1.r15.g47db2f8 + conflicts = libxfce4util + options = !libtool + source = libxfce4util-git::git://git.xfce.org/xfce/libxfce4util + sha256sums = SKIP + sha512sums = SKIP + +pkgname = libxfce4util-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..159d45f0ac0d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Limao Luo <luolimao+AUR@gmail.com> +# +# (Added from libxfce4util package) +# Contributor: Evangelos Foutras <evangelos@foutrelis.com> +# Contributor: tobias <tobias@archlinux.org> + +pkgname=libxfce4util-git +pkgver=4.12.1.r15.g47db2f8 +pkgrel=1 +pkgdesc="Basic utility non-GUI functions for Xfce" +arch=(i686 x86_64) +url=http://git.xfce.org/xfce/${pkgname%-*}/tree/README +license=(GPL2) +groups=(xfce4-git) +depends=(glib2) +makedepends=(git xfce4-dev-tools) +provides=(${pkgname%-*}=$pkgver) +conflicts=(${pkgname%-*}) +options=(!libtool) +source=($pkgname::git://git.xfce.org/xfce/${pkgname%-*}) +sha256sums=('SKIP') +sha512sums=('SKIP') + +pkgver() { + cd $pkgname/ + git describe | sed 's/^libxfce4util-//;s/-/.r/;s/-/./g' +} + +build() { + cd $pkgname/ + ./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-static \ + --enable-gtk-doc \ + --disable-debug + make +} + +package() { + make -C $pkgname DESTDIR="$pkgdir" install + rm -rf "$pkgdir"/usr/share/gtk-doc/ +} |