updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / cadubi / PKGBUILD
blobc76773a3432297299d7d57008596c60747a6f6cd
1 # Maintainer: Antoine Lubineau <antoine@lubignon.info>
3 pkgname=cadubi
4 pkgver=1.3
5 pkgrel=2
6 pkgdesc="A terminal application to draw text-based images"
7 arch=('any')
8 url="http://langworth.com/pub/cadubi/"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl-term-readkey')
11 source=("http://pub.langworth.com/$pkgname-$pkgver.tar.gz")
12 sha256sums=('ca8b6ea305e0eccb11add7fc165beeee7ef33f9f0106e84efa1b364f082df0ab')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16   sed 's|$Bin/help.txt|/usr/share/cadubi/help.txt|g' -i cadubi
19 package() {
20   mkdir -p "$pkgdir/usr/bin"
21   ln -s /usr/share/cadubi/cadubi "$pkgdir/usr/bin/cadubi"
23   cd "$srcdir/$pkgname-$pkgver"
24   install -D -m 0755 cadubi "$pkgdir/usr/share/cadubi/cadubi"
25   install -D -m 0755 help.txt "$pkgdir/usr/share/cadubi/help.txt"
28 # vim:set ts=2 sw=2 et: