diff options
Diffstat (limited to 'community/ascii/PKGBUILD')
-rw-r--r-- | community/ascii/PKGBUILD | 32 |
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 +} |