summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Alff2015-09-16 11:58:07 -0400
committerTed Alff2015-09-16 11:58:07 -0400
commit471771be525b274015cc1c30fc2db78a47e5c4e5 (patch)
tree3a1ef7099d8e139bd1751d7b56ac30a0c68c68df
downloadaur-471771be525b274015cc1c30fc2db78a47e5c4e5.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0e90361e3e5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = xfce4-dockbarx-plugin-git
+ pkgdesc = Embed DockbarX in the xfce4-panel
+ pkgver = 47.988c916
+ pkgrel = 1
+ url = https://github.com/TiZ-EX1/xfce4-dockbarx-plugin
+ arch = i686
+ arch = x86_64
+ license = X11
+ makedepends = python2
+ makedepends = git
+ depends = vala
+ depends = dockbarx>=0.91
+ depends = xfce4-panel
+ provides = xfce4-dockbarx-plugin
+ conflicts = xfce4-dockbarx-plugin
+ source = xfce4-dockbarx-plugin::git+https://github.com/TiZ-EX1/xfce4-dockbarx-plugin.git
+ sha256sums = SKIP
+
+pkgname = xfce4-dockbarx-plugin-git
+
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
+}
+