summaryrefslogtreecommitdiff
path: root/community/ascii/PKGBUILD
blob: d98c31f7bcf6a7375e1f48fe4ef8c5aa1120cfdc (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
# Maintainer: Peter Lewis <plewis@aur.archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=ascii
pkgver=3.8
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Report character aliases and codes"
url="http://www.catb.org/~esr/ascii/"
depends=('glibc')
license=('GPL2')
source=("http://www.catb.org/~esr/ascii/$pkgname-$pkgver.tar.gz")
md5sums=('8fb7540bf2a7a8e1fa0086708ed9b881')

build() {
  cd $srcdir/"$pkgname"-"$pkgver"

  make ascii ascii.1
}

package() {
  cd $srcdir/"$pkgname"-"$pkgver"
  install -D -m 755 ascii "$pkgdir"/usr/bin/ascii
  install -D -m 644 ascii.1 "$pkgdir"/usr/share/man/man1/ascii.1
}