blob: c04d4263e584d27f7f6e1bd65654fab6d036f55f (
plain)
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
|
# $Id: PKGBUILD 103800 2014-01-11 20:08:33Z eric $
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=poedit
pkgver=1.6.3
pkgrel=1
pkgdesc="Cross-platform gettext catalogs (.po files) editor"
arch=('i686' 'x86_64')
url="http://www.poedit.net/"
license=('MIT')
depends=('wxgtk' 'desktop-file-utils' 'lucene++')
makedepends=('boost' 'libsm')
install=poedit.install
source=(http://www.poedit.net/dl/poedit-$pkgver.tar.gz)
md5sums=('f58be3cee666d3c586a85c26abba7816')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|Wx/filename.h|wx/filename.h|' src/tm/transmem.cpp
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --libexecdir=/usr/lib/poedit
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|