aboutsummaryrefslogtreecommitdiffstats
path: root/community/osmo/APKBUILD
blob: 7d5b2d7c8cc5e5e773e233e14a71d575903cc6d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=osmo
_ver=0.4.2
pkgver=${_ver/-/.}
pkgrel=0
pkgdesc="A handy personal organizer"
url="http://clayo.org/osmo/"
arch="all"
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev libnotify-dev libical-dev libxml2-dev libxml2-utils
	webkit2gtk-dev autoconf automake"
subpackages="$pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/osmo-pim/osmo-$_ver.tar.gz
	osmo-0.2.10-build-mo.patch
	"

prepare() {
	default_prepare
	sed -i -e 's/-Werror//' configure.ac
	autoreconf -vif
}

build() {
	CFLAGS="$CFLAGS -I/usr/include/libical"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="769fcbb1fbd161f459bf66fa0851713b9ca1addc77153ac67ea28c5ac5b445297e39517778f2671acb40a94073a291bd84d3e21694496be0b8c066f7b12fd0ff  osmo-0.4.2.tar.gz
c9e49a3177f6135b2cedc00b0bc36ef7421a34941349bcfe242702dcfb5ebf13907d0ae8f8af1e26065b21e53f29e69c1fe36fd6724bfbb86556c3df828c8f23  osmo-0.2.10-build-mo.patch"