summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Palaistras2015-06-22 20:59:31 +0100
committerAlex Palaistras2015-06-22 21:00:33 +0100
commita63ad68537a35101404d34d4382ad24376628c18 (patch)
treeca24916c76e9ad85353bee8c00853e514de77349
downloadaur-a63ad68537a35101404d34d4382ad24376628c18.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD30
-rw-r--r--gnome-todo.install12
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..abc48a05497
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = gnome-todo-git
+ pkgdesc = Simple to-do list manager for Gnome
+ pkgver = 245.6581252
+ pkgrel = 1
+ url = https://feaneron.wordpress.com/2015/06/22/introducing-gnome-to-do/
+ install = gnome-todo.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = gnome-common
+ makedepends = intltool
+ depends = gtk3
+ depends = evolution-data-server-git
+ source = git+git://git.gnome.org/gnome-todo
+ sha256sums = SKIP
+
+pkgname = gnome-todo-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..296ad765b54
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Alex Palaistras <alex+archlinux<at>deuill.org>
+
+pkgname=gnome-todo-git
+pkgver=245.6581252
+pkgrel=1
+pkgdesc="Simple to-do list manager for Gnome"
+arch=('i686' 'x86_64')
+url="https://feaneron.wordpress.com/2015/06/22/introducing-gnome-to-do/"
+license=(GPL)
+depends=('gtk3' 'evolution-data-server-git')
+makedepends=('git' 'gnome-common' 'intltool')
+install=gnome-todo.install
+source=('git+git://git.gnome.org/gnome-todo')
+sha256sums=('SKIP')
+
+build() {
+ cd "$srcdir"/gnome-todo
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir"/gnome-todo
+ make DESTDIR="$pkgdir" install
+}
+
+pkgver() {
+ cd "$srcdir"/gnome-todo
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
diff --git a/gnome-todo.install b/gnome-todo.install
new file mode 100644
index 00000000000..060b1ae92a9
--- /dev/null
+++ b/gnome-todo.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}