summaryrefslogtreecommitdiff
path: root/community/ascii/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ascii/PKGBUILD')
-rw-r--r--community/ascii/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/ascii/PKGBUILD b/community/ascii/PKGBUILD
new file mode 100644
index 000000000..3c43cdbf1
--- /dev/null
+++ b/community/ascii/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Peter Lewis <plewis@aur.archlinux.org>
+# Contributor: Grigorios Bouzakis <grbzks@xsmail.com>
+# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
+
+pkgname=ascii
+pkgver=3.12
+pkgrel=1
+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=('d06267813ac83ed511b7330f43fcc4ee')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ install -D ${pkgname} \
+ ${pkgdir}/usr/bin/${pkgname}
+
+ install -D -m644 ${pkgname}.1 \
+ ${pkgdir}/usr/share/man/man1/${pkgname}.1
+
+ install -D -m644 COPYING \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}