summaryrefslogtreecommitdiff
path: root/pcr/par/PKGBUILD
blob: 1f9b76f980b07d0b04e67e2f4924c94b33105dd2 (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
# Maintainer (Arch): Ray Hogenson <rayhogenson@gmail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=par
pkgver=1.52
pkgrel=4
pkgdesc="Paragraph reformatter"
url="http://www.nicemice.net/par/"
depends=('glibc')
arch=(i686 x86_64)
license=('custom')
source=(http://www.nicemice.net/par/Par152.tar.gz)
md5sums=('4ccacd824171ba2c2f14fb8aba78b9bf')
_dirname="Par152"

prepare() {
	cd "$_dirname"
}
build() {
	cd "$_dirname"
	make -f protoMakefile
}
package() {
	cd "$_dirname"
	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"
}