summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTed Alff2015-07-28 19:42:41 -0400
committerTed Alff2015-07-28 19:42:41 -0400
commit97fe5247999d191753fd60abf507d20a22902f48 (patch)
tree6f10a84664ba5f2890ccbbd9de8f8d2923a7819c /PKGBUILD
downloadaur-97fe5247999d191753fd60abf507d20a22902f48.tar.gz
Initial AUR4 import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbdc67851c5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Contributor: twa022 <twa022 at gmail dot com>
+
+pkgname=dockbarx-git
+_pkgname=dockbarx
+pkgver=580.5157ffe
+pkgrel=1
+pkgdesc="TaskBar with groupping and group manipulation"
+arch=('i686' 'x86_64')
+url="https://code.launchpad.net/~dockbar-main/dockbar/experimental"
+license=('GPL3')
+depends=('python2-wnck' 'pygtk' 'python2-xdg' 'python2-dbus' 'python2-numpy'
+ 'python2-pillow' 'python2-keybinder2' 'hicolor-icon-theme' 'python2-xlib'
+ 'python2-gconf')
+optdepends=('avant-window-navigator: AWN DockBarX Plugin'
+ 'xfce4-dockbarx-plugin: Xfce4 Panel Plugin'
+ 'zeitgeist: recently used file list'
+ 'compiz-fusion-plugins-main: opacify plugin'
+ 'dockmanager: dockmanager plugins'
+ 'cardapio-bzr: required to run menu applet for dockx (standalone dock)')
+makedepends=('bzr')
+conflicts=('dockbarx' 'dockbarx-awn-applet-bzr')
+replaces=('dockbarx-awn-applet-bzr' 'dockbarx-bzr')
+provides=('dockbarx=0.91.4')
+source=("${_pkgname}"::git+https://github.com/M7S/dockbarx.git)
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}
+
+ python2 setup.py install --root ${pkgdir}
+
+ mkdir -p ${pkgdir}/usr/share/avant-window-navigator/applets
+ cp -r ${srcdir}/${_pkgname}/AWN/* ${pkgdir}/usr/share/avant-window-navigator/applets
+
+ mkdir -p ${pkgdir}/usr/share/pixmaps
+ install -Dm644 ${srcdir}/${_pkgname}/icons/hicolor/128x128/apps/dockbarx.png ${pkgdir}/usr/share/pixmaps/dockbarx.png
+
+ sed -i 's:^Categories=.*:Categories=GTK;GNOME;Settings;X-GNOME-PersonalSettings;:' ${pkgdir}/usr/share/applications/dbx_preference.desktop
+}
+
+sha256sums=('SKIP')