summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsolaraquarion2017-02-09 19:13:45 -0500
committersolaraquarion2017-02-09 19:13:45 -0500
commit4ac8984feb9d2b78981a5feba9f8dd2843ce6374 (patch)
tree46e22d1b975b98fdf56a4115f411e004848db14e /PKGBUILD
downloadaur-4ac8984feb9d2b78981a5feba9f8dd2843ce6374.tar.gz
initial revision
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..159d45f0ac0
--- /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/
+}