summaryrefslogtreecommitdiff
path: root/community/ascii/PKGBUILD
blob: fc86b799a9d14a60ae58e45ea825b7788d5d679b (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
# 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=1
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')
source=("http://www.catb.org/~esr/ascii/ascii-${pkgver}.tar.gz")
md5sums=('ba8a9392f8aa8c6b7a52923fba870579')

build() {
  cd ascii-${pkgver}

  make
}

package() {
  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
}