summaryrefslogtreecommitdiff
path: root/community/ascii/PKGBUILD
blob: 3c43cdbf1f7dfba799ba7c86d1d300596a926a4d (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.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
}