updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / ppmascii / PKGBUILD
blob78d813d8d52886b07f5a992d222a214e24d15942
1 # Maintainer: Pablo Olmos de Aguilera Corradini <pablo at glatelier dot org>
2 pkgname=ppmascii
3 pkgver=1.2
4 pkgrel=2
5 pkgdesc="A script to convert ppm bitmaps to 7-bit ASCII art"
6 arch=("any")
7 url="http://www.floodgap.com/software/ppmascii/"
8 license=('custom:FFSL')
9 depends=('perl')
10 optdepends=('libjpeg-turbo: to convert jpegs to ppm'
11 'tiff2pnm: convert tiff to ppm'
12 'imagemagick: convert from multiple image formats to ppm')
13 install=ppmascii.install
14 source=('http://www.floodgap.com/software/ffsl/license.txt'
15         "$pkgname.txt::http://www.floodgap.com/software/$pkgname/$pkgname.txt")
16 md5sums=('056779f62628b5d16bf1b4a36c6fb71d'
17          '45a72ace3241c95713eb537172b8c28a')
19 build() {
20   cd "$srcdir"
21   install -Dm755 $pkgname.txt "$pkgdir/usr/bin/$pkgname"
22   install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
25 # vim:set ts=2 sw=2 et: