aboutsummaryrefslogtreecommitdiffstats
path: root/community/poedit/APKBUILD
blob: 63662a0fdf8ccf29341f6362cba6ea1cdc8cca58 (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
# 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"
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"