summaryrefslogtreecommitdiff
path: root/community-testing/almanah
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-16 00:01:18 +0000
committerroot <root@rshg054.dnsready.net>2012-04-16 00:01:18 +0000
commitea3d877b99c32e3a9e00ab220440d4518430e5bc (patch)
tree8cf0d286f935fd9e00eb3854d971c165c749d7bf /community-testing/almanah
parentf06b9295f0e60a0faa0d3231a0d0b3f2358d8459 (diff)
Mon Apr 16 00:01:18 UTC 2012
Diffstat (limited to 'community-testing/almanah')
-rw-r--r--community-testing/almanah/PKGBUILD29
-rw-r--r--community-testing/almanah/almanah.install12
2 files changed, 41 insertions, 0 deletions
diff --git a/community-testing/almanah/PKGBUILD b/community-testing/almanah/PKGBUILD
new file mode 100644
index 000000000..741736592
--- /dev/null
+++ b/community-testing/almanah/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 69342 2012-04-14 11:07:44Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=almanah
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Small GTK+ application to allow you to keep a diary of your life"
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/Almanah_Diary"
+license=('GPL')
+depends=('evolution-data-server>=3.4.0' 'gtkspell3' 'libcryptui' 'xdg-utils')
+makedepends=('intltool')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('c8928c5beda9e7a54040ba5a87873ad8fad5feb5585546b0ab5e57d08c3aa7c6')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community-testing/almanah/almanah.install b/community-testing/almanah/almanah.install
new file mode 100644
index 000000000..6ce7836d2
--- /dev/null
+++ b/community-testing/almanah/almanah.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}