# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=poedit pkgver=2.2.3 pkgrel=0 pkgdesc="A cross-platform translations editor" url="https://www.poedit.net" arch="all" license="MIT" makedepends="boost-dev db-dev enchant2-dev gtk+3.0-dev gtkspell3-dev lucene++-dev wxgtk3-dev" subpackages="$pkgname-lang $pkgname-doc" source="https://github.com/vslavik/poedit/releases/download/v${pkgver}-oss/poedit-${pkgver}.tar.gz 683788d49eb9cee391984659c39c3e2ac236b420.patch" 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="566f397add593d0b05b995cbd1cff1b063b6eb49b02058511f13c27ed5887685816f8dd9280e1a6be2dd594049c6eecd73efc5cf7835475d3cb5a94fe38f280f poedit-2.2.3.tar.gz b1d9efde654733b9fa3ca0abbbb3daa4adbca0b3c0b57c89c3c6809526c6e95fc6aaf321333237181c7d0e63ffd4a9b04410bb45c92ff3c4c32d7bffae81dc2e 683788d49eb9cee391984659c39c3e2ac236b420.patch"