diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-04-28 08:48:10 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-04-28 08:52:59 +0200 |
commit | b7b4122d6fa1ebc07f22673cdead20a3fcf50374 (patch) | |
tree | f26bb2a389ffa62ff6f805c61cdd4f4f62c30997 /community/osmo | |
parent | 8922925e5c4368294f4408be973a239eef1abe9b (diff) | |
download | aports-b7b4122d6fa1ebc07f22673cdead20a3fcf50374.tar.bz2 aports-b7b4122d6fa1ebc07f22673cdead20a3fcf50374.tar.xz |
community/osmo: upgrade to 0.4.0.1
Diffstat (limited to 'community/osmo')
-rw-r--r-- | community/osmo/APKBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/community/osmo/APKBUILD b/community/osmo/APKBUILD index 0f400b4822..a10dd23d17 100644 --- a/community/osmo/APKBUILD +++ b/community/osmo/APKBUILD @@ -1,6 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=osmo -pkgver=0.4.0 +_ver=0.4.0-1 +pkgver=${_ver/-/.} pkgrel=0 pkgdesc="A handy personal organizer" url="http://clayo.org/osmo/" @@ -10,23 +11,20 @@ makedepends="gtk+3.0-dev libnotify-dev libical-dev libxml2-dev libxml2-utils autoconf automake" install= subpackages="$pkgname-doc $pkgname-lang" -source="http://downloads.sourceforge.net/$pkgname-pim/$pkgname-$pkgver.tar.gz +source="http://downloads.sourceforge.net/$pkgname-pim/$pkgname-$_ver.tar.gz osmo-0.2.10-build-mo.patch " +builddir="$srcdir"/$pkgname-$_ver -_builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - for i in "$srcdir"/*.patch; do - msg "Applying ${i##*/}" - patch -p1 -i "$i" || return 1 - done + cd "$builddir" + default_prepare sed -i -e 's/-Werror//' configure.ac || return 1 - aclocal && autoconf && automake --add-missing + autoreconf -vif } build() { - cd "$_builddir" + cd "$builddir" CFLAGS="$CFLAGS -I/usr/include/libical" ./configure \ --build=$CBUILD \ @@ -37,9 +35,9 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make -j1 DESTDIR="$pkgdir" install || return 1 } -sha512sums="b6a20322c17d352e1168c537f850a461c0cc4e5c9edb87d69647a6b9d5e3f5e2c14ec5fe6bb2c87f7b2f4b3fccf15871ca5be698e6f46832e590ba14493b2ef8 osmo-0.4.0.tar.gz +sha512sums="526143100c9c46a074cefb63564973e68468c1a26968a7cfa0f99265f6cefb977648755f2a4b0b6e537342aa5134ef2c045de70ee5c3893ac1e1b0db81f0dbae osmo-0.4.0-1.tar.gz c9e49a3177f6135b2cedc00b0bc36ef7421a34941349bcfe242702dcfb5ebf13907d0ae8f8af1e26065b21e53f29e69c1fe36fd6724bfbb86556c3df828c8f23 osmo-0.2.10-build-mo.patch" |