summaryrefslogtreecommitdiff
path: root/pcr/par
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/par')
-rw-r--r--pcr/par/PKGBUILD40
1 files changed, 15 insertions, 25 deletions
diff --git a/pcr/par/PKGBUILD b/pcr/par/PKGBUILD
index c86601271..1f9b76f98 100644
--- a/pcr/par/PKGBUILD
+++ b/pcr/par/PKGBUILD
@@ -1,38 +1,28 @@
-# Contributor (Arch): Federico Quagliata (quaqo) <quaqo@despammed.com>
-# Contributor (Arch): quantax -- contact via Arch Linux forum or AUR
-
+# Maintainer (Arch): Ray Hogenson <rayhogenson@gmail.com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=par
pkgver=1.52
-pkgrel=3
+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-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')
+license=('custom')
+source=(http://www.nicemice.net/par/Par152.tar.gz)
+md5sums=('4ccacd824171ba2c2f14fb8aba78b9bf')
+_dirname="Par152"
prepare() {
- cd $srcdir/Par152
-
- patch -p1 -i $srcdir/par_1.52-i18n.3.diff
+ cd "$_dirname"
}
-
build() {
- cd $srcdir/Par152
-
- ./configure --prefix=/usr
-
- make
+ cd "$_dirname"
+ make -f protoMakefile
}
-
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"
+ 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"
}
+