summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..48df41b5817
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Contributor: twa022 <twa022 at gmail dot com>
+
+_pkgname=xfce4-dockbarx-plugin
+pkgname=$_pkgname-git
+pkgver=47.988c916
+pkgrel=1
+pkgdesc="Embed DockbarX in the xfce4-panel"
+arch=('i686' 'x86_64')
+url="https://github.com/TiZ-EX1/xfce4-dockbarx-plugin"
+license=('X11')
+depends=('vala' 'dockbarx>=0.91' 'xfce4-panel')
+makedepends=('python2' 'git')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=( ${_pkgname}::git+https://github.com/TiZ-EX1/${_pkgname}.git )
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+build() {
+ cd ${srcdir}/${_pkgname}
+ sed -i 's:env python$:&2:' waf wscript
+ PREFIX=/usr ./waf configure
+ ./waf build
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}
+ DESTDIR="${pkgdir}" ./waf install
+}
+