1 # Maintainer: ponsfoot <cabezon dot hashimoto at gmail dot com>
7 pkgdesc="Emacs po-mode for editing gettext .po files"
8 url="http://www.gnu.org/software/gettext/"
11 depends=('gettext' 'libcroco' 'expat')
13 install=${pkgname}.install
15 source=(ftp://ftp.gnu.org/pub/gnu/gettext/${_pkgname}-${pkgver}.tar.gz
17 md5sums=('3dd55b952826d2b32f51308f2f91aa89'
18 'f5750e6bf1d4b76c0394959516afadcd')
21 cd ${srcdir}/${_pkgname}-${pkgver}/gettext-tools/misc/
23 patch -Np3 -i ${srcdir}/po-mode-2.21.patch
24 emacs -batch -f batch-byte-compile po-compat.el po-mode.el
27 cd ${srcdir}/${_pkgname}-${pkgver}/gettext-tools/misc/
29 install -d ${pkgdir}/usr/share/emacs/site-lisp
30 install -m644 po-mode.el{,c} po-compat.el{,c} \
31 -t ${pkgdir}/usr/share/emacs/site-lisp