summaryrefslogtreecommitdiff
path: root/community/ascii/PKGBUILD
blob: d0cbc05033c32a44d5c9dc35356b35abfc4bdbea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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.11
pkgrel=2
pkgdesc="Utility for conversion between various byte representations and the ASCII character table"
arch=('i686' 'x86_64' 'mips64el')
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 ${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
}