aboutsummaryrefslogtreecommitdiffstats
path: root/community/poedit/APKBUILD
blob: fdd2ebc636132a26f35addeccad48f275e24c49f (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=poedit
pkgver=2.4.2
pkgrel=1
pkgdesc="cross-platform translations editor"
url="https://www.poedit.net"
arch="all"
license="MIT"
depends="gettext"
makedepends="boost-dev enchant2-dev gtk+3.0-dev gtkspell3-dev
	lucene++-dev wxgtk3-dev autoconf automake libtool pugixml-dev
	gettext-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="https://github.com/vslavik/poedit/archive/v$pkgver-oss.tar.gz
	fix-missing-include.patch
	"
builddir="$srcdir/$pkgname-$pkgver-oss"

prepare() {
	default_prepare

	./bootstrap
}

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

check() {
	make check
}

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

sha512sums="03dc34835838f91358e9093634cf1a293b076f301c248a76ead26dc7446b4f4712a5079ac7116b3183f73e53681f920007abdada118318dadd4f17503ca4b078  v2.4.2-oss.tar.gz
4a03c13baa577a46a77b8b8c2ea13dbfeb4dc5313e39d2d8b12869a74be4ee396138aa3e2e29d57460dac53f2eee12ca7a22d471163482a1b87b211d2b5da85d  fix-missing-include.patch"