blob: 2a6c0fac3611cfeb43290854d6bd1926711c2a31 (
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
37
38
|
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
# Contributor: quantax -- contact via Arch Linux forum or AUR
pkgname=par
pkgver=1.52
pkgrel=3
pkgdesc="Paragraph reformatter"
url="http://www.nicemice.net/par/"
depends=('glibc')
arch=(i686 x86_64)
license=('Custom')
source=(http://www.nicemice.net/par/Par152-autoconf.tar.gz
http://www.nicemice.net/par/par_1.52-i18n.3.diff.gz
http://www.nicemice.net/par/Par152.tar.gz )
md5sums=('83e4d23a943ab07c44dd995b73195c70'
'e79b448cb14323a39d817afce4847cdf'
'4ccacd824171ba2c2f14fb8aba78b9bf')
prepare() {
cd $srcdir/Par152
patch -p1 -i $srcdir/par_1.52-i18n.3.diff
}
build() {
cd $srcdir/Par152
./configure --prefix=/usr
make
}
package() {
cd $srcdir/Par152
install --mode=755 -D par "${pkgdir}/usr/bin/par"
install --mode=644 -D par.1 "${pkgdir}/usr/share/man/man1/par.1"
install --mode=644 -D par.doc "${pkgdir}/usr/share/licenses/${pkgname}/par.doc"
}
|