summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Weber2015-06-13 17:05:27 +0200
committerSteffen Weber2015-06-13 17:05:27 +0200
commitc41d266ab5ece9d3b41b391bd78368c918c93106 (patch)
treec49c6f9a3f690e8c01756578fb7d00f615cc2992
downloadaur-c41d266ab5ece9d3b41b391bd78368c918c93106.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
-rw-r--r--yokadi.install11
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d7430ec9007
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = yokadi
+ pkgdesc = Not your grandma TODO list
+ pkgver = 0.14.0
+ pkgrel = 1
+ url = http://yokadi.github.io
+ install = yokadi.install
+ arch = any
+ license = GPL3
+ depends = python2-sqlobject
+ depends = python2-dateutil
+ depends = python2-crypto
+ depends = hicolor-icon-theme
+ source = http://yokadi.github.io/download/yokadi-0.14.0.tar.bz2
+ md5sums = c6b300aa478adde6012bc35bad5a8a4f
+
+pkgname = yokadi
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..71bbed8c766
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+#Maintainer: Steffen Weber <-boenki-gmx-de->
+
+pkgname=yokadi
+pkgver=0.14.0
+pkgrel=1
+pkgdesc="Not your grandma TODO list"
+url="http://yokadi.github.io"
+arch=('any')
+depends=('python2-sqlobject' 'python2-dateutil' 'python2-crypto' 'hicolor-icon-theme')
+install=$pkgname.install
+source=("$url/download/$pkgname-$pkgver.tar.bz2")
+license=('GPL3')
+md5sums=('c6b300aa478adde6012bc35bad5a8a4f')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' \
+ yokadi/{createdemodb.py,yokadid.py,ycli/main.py,tests/tests.py,core/daemon.py} \
+ update/{update*,dump.py}
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
diff --git a/yokadi.install b/yokadi.install
new file mode 100644
index 00000000000..013aa1f5f20
--- /dev/null
+++ b/yokadi.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file