summaryrefslogtreecommitdiff
path: root/community/ascii/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-20 23:03:55 +0000
committerroot <root@rshg047.dnsready.net>2011-06-20 23:03:55 +0000
commitf02c28de0bbcb85e152fc19d0008805021fe1a33 (patch)
tree0cb0a135fbbb06d2e31fe64ff2caad474dcc3813 /community/ascii/PKGBUILD
parent5457eacc747fc3f91e10a1f452230b1feac39eff (diff)
Mon Jun 20 23:03:54 UTC 2011
Diffstat (limited to 'community/ascii/PKGBUILD')
-rw-r--r--community/ascii/PKGBUILD32
1 files changed, 19 insertions, 13 deletions
diff --git a/community/ascii/PKGBUILD b/community/ascii/PKGBUILD
index d98c31f7b..243e6aafe 100644
--- a/community/ascii/PKGBUILD
+++ b/community/ascii/PKGBUILD
@@ -1,26 +1,32 @@
# Maintainer: Peter Lewis <plewis@aur.archlinux.org>
+# Contributor: Grigorios Bouzakis <grbzks@xsmail.com>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=ascii
-pkgver=3.8
+pkgver=3.11
pkgrel=1
+pkgdesc="Utility for conversion between various byte representations and the ASCII character table"
arch=('i686' 'x86_64')
-pkgdesc="Report character aliases and codes"
-url="http://www.catb.org/~esr/ascii/"
-depends=('glibc')
-license=('GPL2')
-source=("http://www.catb.org/~esr/ascii/$pkgname-$pkgver.tar.gz")
-md5sums=('8fb7540bf2a7a8e1fa0086708ed9b881')
+url="http://www.catb.org/~esr/ascii"
+license=('BSD')
+source=("http://www.catb.org/~esr/ascii/ascii-${pkgver}.tar.gz")
+md5sums=('ba8a9392f8aa8c6b7a52923fba870579')
build() {
- cd $srcdir/"$pkgname"-"$pkgver"
+ cd ascii-${pkgver}
- make ascii ascii.1
+ make
}
package() {
- cd $srcdir/"$pkgname"-"$pkgver"
- install -D -m 755 ascii "$pkgdir"/usr/bin/ascii
- install -D -m 644 ascii.1 "$pkgdir"/usr/share/man/man1/ascii.1
-}
+ cd ascii-${pkgver}
+
+ install -D ascii \
+ ${pkgdir}/usr/bin/ascii
+ install -D -m644 ascii.1 \
+ ${pkgdir}/usr/share/man/man1/ascii.1
+
+ install -D -m644 COPYING \
+ ${pkgdir}/usr/share/licenses/ascii/LICENSE
+}