summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorElio E. Duarte2015-12-02 21:10:56 -0200
committerElio E. Duarte2015-12-02 21:10:56 -0200
commit7b591219971eb5dce7204d1e409f7ec1eded9f62 (patch)
treec7ffdaec9fe63b5697243ee119d30b3ddbeb0a2d
downloadaur-7b591219971eb5dce7204d1e409f7ec1eded9f62.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD28
-rw-r--r--tomate-gtk.install13
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6bf1a302cac
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = tomate-gtk
+ pkgdesc = Tomate Pomodoro Timer (GTK+)
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://github.com/eliostvs/tomate-gtk
+ install = tomate-gtk.install
+ arch = any
+ license = GPL
+ makedepends = python-setuptools
+ depends = desktop-file-utils
+ depends = gtk-update-icon-cache
+ depends = gtk3
+ depends = hicolor-icon-theme
+ depends = libappindicator-gtk3
+ depends = python
+ depends = python-tomate
+ options = !emptydirs
+ source = https://github.com/eliostvs/tomate-gtk/archive/0.3.0.tar.gz
+ md5sums = 911d0dc1f8a3319336e6470dda29e940
+
+pkgname = tomate-gtk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a07f1a26d9b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Elio Esteves Duarte <elio.esteves.duarte@gmail.com>
+pkgname=tomate-gtk
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Tomate Pomodoro Timer (GTK+)"
+arch=('any')
+url="https://github.com/eliostvs/tomate-gtk"
+license=('GPL')
+depends=('desktop-file-utils'
+ 'gtk-update-icon-cache'
+ 'gtk3'
+ 'hicolor-icon-theme'
+ 'libappindicator-gtk3'
+ 'python'
+ 'python-tomate')
+makedepends=('python-setuptools')
+options=(!emptydirs)
+source=("https://github.com/eliostvs/tomate-gtk/archive/$pkgver.tar.gz")
+md5sums=('911d0dc1f8a3319336e6470dda29e940')
+install=tomate-gtk.install
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: \ No newline at end of file
diff --git a/tomate-gtk.install b/tomate-gtk.install
new file mode 100644
index 00000000000..c841630b7f0
--- /dev/null
+++ b/tomate-gtk.install
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+ update-mime-database /usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file