summaryrefslogtreecommitdiff
path: root/community/ascii
diff options
context:
space:
mode:
Diffstat (limited to 'community/ascii')
-rw-r--r--community/ascii/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/ascii/PKGBUILD b/community/ascii/PKGBUILD
index 243e6aafe..608a6fb5d 100644
--- a/community/ascii/PKGBUILD
+++ b/community/ascii/PKGBUILD
@@ -4,29 +4,30 @@
pkgname=ascii
pkgver=3.11
-pkgrel=1
+pkgrel=2
pkgdesc="Utility for conversion between various byte representations and the ASCII character table"
arch=('i686' 'x86_64')
url="http://www.catb.org/~esr/ascii"
license=('BSD')
+depends=('glibc')
source=("http://www.catb.org/~esr/ascii/ascii-${pkgver}.tar.gz")
md5sums=('ba8a9392f8aa8c6b7a52923fba870579')
build() {
- cd ascii-${pkgver}
+ cd ${pkgname}-${pkgver}
make
}
package() {
- cd ascii-${pkgver}
+ cd ${pkgname}-${pkgver}
- install -D ascii \
- ${pkgdir}/usr/bin/ascii
+ install -D ${pkgname} \
+ ${pkgdir}/usr/bin/${pkgname}
- install -D -m644 ascii.1 \
- ${pkgdir}/usr/share/man/man1/ascii.1
+ install -D -m644 ${pkgname}.1 \
+ ${pkgdir}/usr/share/man/man1/${pkgname}.1
install -D -m644 COPYING \
- ${pkgdir}/usr/share/licenses/ascii/LICENSE
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}