blob: 87d37d4baa0c416cf23d0320e5d21ed87a920ab0 (
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
36
|
# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
pkgname=gnun
pkgver=0.11
pkgrel=2
pkgdesc="GNUnited Nations, build system for www.gnu.org translations"
arch=(any)
url="https://www.gnu.org/software/gnun/"
license=('GPL')
depends=(cvs subversion bzr po4a libxml2 mailutils wdiff)
backup=(etc/gnun/gnun.conf)
source=("http://ftp.gnu.org/gnu/gnun/$pkgname-$pkgver.tar.gz")
md5sums=('ebf842c947e936dc2be899b014db9422')
prepare() {
cd "$pkgname-$pkgver"
# gnu-mail from mailutils
sed -i 's/\[mail\]/[gnu-mail]/' configure.ac
}
build() {
cd "$pkgname-$pkgver"
autoreconf
./configure --prefix=/usr --libexecdir=/usr/share/gnun/scripts \
--sysconfdir=/etc/gnun --enable-multiviews
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|