aboutsummaryrefslogtreecommitdiffstats
path: root/main/osmo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/osmo/APKBUILD')
-rw-r--r--main/osmo/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/osmo/APKBUILD b/main/osmo/APKBUILD
new file mode 100644
index 0000000000..80a87434e8
--- /dev/null
+++ b/main/osmo/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=osmo
+pkgver=0.2.10
+pkgrel=2
+pkgdesc="A handy personal organizer"
+url="http://clayo.org/osmo/"
+arch="all"
+license="GPL"
+makedepends="gtk+-dev libnotify-dev libical-dev libxml2-dev autoconf automake"
+install=
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname-pim/$pkgname-$pkgver.tar.gz
+ osmo-0.2.10-build-mo.patch
+ "
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in "$srcdir"/*.patch; do
+ msg "Applying ${i##*/}"
+ patch -p1 -i "$i" || return 1
+ done
+ aclocal && autoconf && automake
+}
+
+build() {
+ cd "$_builddir"
+ CFLAGS="$CFLAGS -I/usr/include/libical"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="a774db748228efee96186158d553ade9 osmo-0.2.10.tar.gz
+6c9939fd4df9d25e1a220585e6875c78 osmo-0.2.10-build-mo.patch"