aboutsummaryrefslogtreecommitdiffstats
path: root/community/poedit/APKBUILD
blob: 4ad3adb1b2405a5cbefc91bc1a33c94545594414 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=poedit
pkgver=3.1.1
pkgrel=1
pkgdesc="cross-platform translations editor"
url="https://www.poedit.net"
arch="all"
license="MIT"
depends="gettext"
makedepends="
	autoconf
	automake
	boost-dev
	enchant2-dev
	gettext-dev
	gtk+3.0-dev
	gtkspell3-dev
	libtool
	lucene++-dev
	pugixml-dev
	wxwidgets-dev
	"
subpackages="$pkgname-lang $pkgname-doc"
source="https://github.com/vslavik/poedit/archive/v$pkgver-oss.tar.gz"
builddir="$srcdir/$pkgname-$pkgver-oss"

case "$CARCH" in
riscv64)
	options="$options textrels"
	;;
esac

prepare() {
	default_prepare

	./bootstrap
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="
40f5ca5af7970c770cf35c7fee53174f3f4cf6d7d1efa7099cb68d1b35113d9838efd628f0190cbbc34b538f4b13d5a1c5a3967e67d5091c3d9044e0ab188152  v3.1.1-oss.tar.gz
"