diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-05 12:24:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-05 12:24:06 +0000 |
commit | 8321ebf63f81215fe05c1e3a06d5b4640119d098 (patch) | |
tree | 895546dc4758263f373d7ab833037e13fac6f4b1 /testing/osmo | |
parent | 9636f4e3d2264cb0ef653e57e044c775c9a08c64 (diff) | |
download | aports-8321ebf63f81215fe05c1e3a06d5b4640119d098.tar.bz2 aports-8321ebf63f81215fe05c1e3a06d5b4640119d098.tar.xz |
testing/osmo: upgrade to 0.2.10
Diffstat (limited to 'testing/osmo')
-rw-r--r-- | testing/osmo/APKBUILD | 29 | ||||
-rw-r--r-- | testing/osmo/osmo-0.2.10-build-mo.patch | 20 |
2 files changed, 41 insertions, 8 deletions
diff --git a/testing/osmo/APKBUILD b/testing/osmo/APKBUILD index 4c3145c03..489874e36 100644 --- a/testing/osmo/APKBUILD +++ b/testing/osmo/APKBUILD @@ -1,24 +1,37 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=osmo -pkgver=0.2.8 -pkgrel=1 +pkgver=0.2.10 +pkgrel=0 pkgdesc="A handy personal organizer" url="http://clayo.org/osmo/" license="GPL" -makedepends="gtk+-dev libnotify-dev libxml2-dev" +makedepends="gtk+-dev libnotify-dev libxml2-dev autoconf automake" install= subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname-pim/$pkgname-$pkgver.tar.gz" +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 "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure --prefix=/usr || return 1 make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install || return 1 } -md5sums="7fa83efd27cd3ecc54e73f0ec4e91d81 osmo-0.2.8.tar.gz" +md5sums="a774db748228efee96186158d553ade9 osmo-0.2.10.tar.gz +6c9939fd4df9d25e1a220585e6875c78 osmo-0.2.10-build-mo.patch" diff --git a/testing/osmo/osmo-0.2.10-build-mo.patch b/testing/osmo/osmo-0.2.10-build-mo.patch new file mode 100644 index 000000000..ac1b9aa23 --- /dev/null +++ b/testing/osmo/osmo-0.2.10-build-mo.patch @@ -0,0 +1,20 @@ +diff --git a/po/Makefile.am b/po/Makefile.am +index b3c904a..f0ee467 100644 +--- a/po/Makefile.am ++++ b/po/Makefile.am +@@ -16,8 +16,8 @@ all: $(MOFILES) + + update-po: $(DOMAIN).pot $(POFILES) $(MOFILES) + +-%.mo: skip +- @po=$(@:.mo=.po); if test $$po -nt $@ ; then $(MSGFMT) -c --statistics $$po -o $@; echo "$@ updated."; fi ++%.mo: %.po ++ @$(MSGFMT) -c --statistics $^ -o $@; echo "$@ updated." + + %.po: $(DOMAIN).pot + $(MSGMERGE) $@ $< -o $@.in && mv $@.in $@ +@@ -41,4 +41,3 @@ uninstall-local: + clean-local: + rm -rf *.mo + +-skip: |