1 # Maintainer: epsy <epsy nospace 46 at free dot fr>
6 pkgdesc="A command-line tool for rendering CFDG design grammars."
8 url="http://www.contextfreeart.org/"
12 source=(http://www.contextfreeart.org/download/ContextFreeSource$pkgver.tgz http://epsy.net46.net/aur/cfdg-$pkgver-$pkgrel.patch)
13 md5sums=('df05c3ea98201bbc75d30b317197ef2b' 'e830f8e437b2959731db16bc72f79179')
15 # We extract the archive ourselves because for some bad reason,
16 # upstream named the top directory from the archive the same as
18 noextract=(ContextFreeSource$pkgver.tgz)
23 bsdtar -xf $srcdir/ContextFreeSource$pkgver.tgz -C $srcdir/extract/
24 cd $srcdir/extract/ContextFreeSource$pkgver.tgz
25 patch -p0 <$srcdir/cfdg-$pkgver-$pkgrel.patch
28 # The package has no install directive, so install it ourselves
29 mkdir -p $pkgdir/usr/bin/ $pkgdir/usr/share/cfdg
30 cp cfdg $pkgdir/usr/bin/cfdg
31 cp -R input $pkgdir/usr/share/cfdg/examples