summaryrefslogtreecommitdiff
path: root/pcr/par/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/par/PKGBUILD')
-rw-r--r--pcr/par/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/par/PKGBUILD b/pcr/par/PKGBUILD
new file mode 100644
index 000000000..761ac9193
--- /dev/null
+++ b/pcr/par/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
+# Contributor: quantax -- contact via Arch Linux forum or AUR
+
+pkgname=par
+pkgver=1.52
+pkgrel=2
+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/Par152.tar.gz )
+md5sums=('83e4d23a943ab07c44dd995b73195c70'
+ '4ccacd824171ba2c2f14fb8aba78b9bf')
+
+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"
+}