# Maintainer: Jaroslav Lichtblau # Contributor: Sergej Pupykin # Contributor: Andrea Scarpino # Contributor: Giovanni Scafora # Contributor: Alexander Fehr # Contributor: Daniel J Griffiths pkgname=poedit epoch=1 pkgver=3.3.1 pkgrel=1 pkgdesc="Cross-platform gettext catalogs (.po files) editor" arch=('x86_64') url="https://www.poedit.net/" license=('MIT') depends=('gtkspell3' 'lucene++' 'wxwidgets-gtk3' 'webkit2gtk') makedepends=('boost') source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-${pkgver}.tar.gz) sha256sums=('4a8af5c37be152ebab012ebf5c7e21aec3e3c692be34deaf00c78216e901b926') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --libexecdir=/usr/lib/poedit make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t' } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE }