summaryrefslogtreecommitdiff
path: root/pcr/toilet/PKGBUILD
blob: 48deb1b9bd0f6360f3c246d01853b79ccae5a29b (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
# Maintainer (Arch): Christian Neukirchen <chneukirchen@gmail.com>
# Contributor (Arch): bl4ckb1t <bl4ckb1t@gmail.com>
pkgname=toilet
pkgver=0.3
pkgrel=1
pkgdesc="free replacement for the FIGlet utility."
arch=('i686' 'x86_64')
url="http://libcaca.zoy.org/wiki/toilet"
license=('custom:WTFPL')
depends=('libcaca')
replaces=('figlet')
conflicts=('figlet')
provides=('figlet')
source=(http://libcaca.zoy.org/files/toilet/$pkgname-$pkgver.tar.gz)
md5sums=('9b72591cb22a30c42a3184b17cabca6f')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING
}