summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorthr2015-07-20 01:13:43 +0200
committerthr2015-07-20 01:13:43 +0200
commit237c1b4cd414e2b550d7349bc19003d603c52aa4 (patch)
tree85fb40458683b8c88cc70f7a16da60de230e7481
downloadaur-237c1b4cd414e2b550d7349bc19003d603c52aa4.tar.gz
initial commit
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD27
-rw-r--r--kiba-dock-bin.install13
-rwxr-xr-xkiba-start4
4 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..40cf40e70c4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = kiba-dock-bin
+ pkgdesc = An eyecandy'd physics-based application launcher. (binary version)
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://launchpad.net/kiba-dock
+ install = kiba-dock-bin.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ source = https://downloads.sourceforge.net/project/junkyard/Kiba-Dock/kiba-dock_0.1-1.2_i386.deb
+ source = kiba-start
+ md5sums = 2c39a4062dccf7cbe16351ef392ce622
+ md5sums = c2f00e6dabf2b5b29a973785c04ef863
+ depends_i686 = gconf
+ depends_i686 = orbit2
+ depends_i686 = librsvg
+ depends_i686 = libglade
+ depends_i686 = glitz
+ depends_i686 = libcanberra
+ depends_i686 = zenity
+ depends_i686 = gnome-python
+ depends_i686 = python2-egg
+ depends_x86_64 = lib32-gconf
+ depends_x86_64 = lib32-orbit2
+ depends_x86_64 = lib32-librsvg
+ depends_x86_64 = lib32-libglade
+ depends_x86_64 = lib32-glitz
+ depends_x86_64 = lib32-libcanberra
+ depends_x86_64 = zenity
+ depends_x86_64 = gnome-python
+ depends_x86_64 = python2-egg
+
+pkgname = kiba-dock-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9d9a51eb63e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: thr <r at sledinmay dot com>
+pkgname=kiba-dock-bin
+pkgver=0.1
+pkgrel=1
+pkgdesc="An eyecandy'd physics-based application launcher. (binary version)"
+arch=(i686 x86_64)
+url="https://launchpad.net/kiba-dock"
+license=(GPL)
+depends_i686=('gconf' 'orbit2' 'librsvg' 'libglade' 'glitz' 'libcanberra' 'zenity' 'gnome-python' 'python2-egg')
+depends_x86_64=('lib32-gconf' 'lib32-orbit2' 'lib32-librsvg' 'lib32-libglade' 'lib32-glitz' 'lib32-libcanberra' 'zenity' 'gnome-python' 'python2-egg')
+install=$pkgname.install
+source=("https://downloads.sourceforge.net/project/junkyard/Kiba-Dock/kiba-dock_0.1-1.2_i386.deb" kiba-start)
+md5sums=('2c39a4062dccf7cbe16351ef392ce622'
+ 'c2f00e6dabf2b5b29a973785c04ef863')
+
+prepare() {
+ tar -zxf data.tar.gz
+ rm usr/bin/populate-dock.sh
+ sed -i '0,/python/s//python2/' usr/bin/kiba-*.py
+ sed -i '0,/kiba-dock/s//kiba-start/' usr/share/applications/kiba-dock.desktop
+ mv usr/lib/python2.4 usr/lib/python2.7
+ ln -s /usr/share/icons/hicolor/16x16/apps/kiba_16.png usr/share/kiba-dock/kiba_16.png
+}
+package() {
+ cp -rf usr ${pkgdir}
+ install kiba-start ${pkgdir}/usr/bin/
+}
diff --git a/kiba-dock-bin.install b/kiba-dock-bin.install
new file mode 100644
index 00000000000..0417c1415a0
--- /dev/null
+++ b/kiba-dock-bin.install
@@ -0,0 +1,13 @@
+post_install() {
+gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+update-desktop-database -q
+/usr/sbin/gconfpkg --install kiba
+}
+
+post_upgrade() {
+post_install $1
+}
+
+post_remove() {
+gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+}
diff --git a/kiba-start b/kiba-start
new file mode 100755
index 00000000000..304536ab977
--- /dev/null
+++ b/kiba-start
@@ -0,0 +1,4 @@
+#!/usr/bin/sh
+
+mkdir -p ~/.kiba-dock/profiles
+/usr/bin/kiba-systray.py \ No newline at end of file