# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=poedit pkgver=2.2.4 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" 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="e7388e0657755752bc9eacd95d0a2f8f70d5a759fa15f054be3a8d07df821e8dceb9994652b576553808840bac520fcd292fd15987659f8cb4e4c8c7930ae919 poedit-2.2.4.tar.gz"