updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / ditaa / PKGBUILD
blobb6d0d26252d56f407036420575562a60f3ae5f12
1 # Maintainer: domanov <domanov@gmail.com>
3 pkgname=ditaa
4 pkgver=0_9
5 pkgrel=1
6 pkgdesc="Java utility to convert diagrams drawn using ascii art to bitmap"
7 arch=('i686' 'x86_64')
8 url="http://ditaa.sourceforge.net/"
9 license=('GPL')
10 depends=('java-runtime')
11 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/0.9/${pkgname}${pkgver}.zip
12         ditaa.sh)
13 md5sums=('23f2e5ede60ef7763309c08addca071a'
14          'f49b726595c7b85aa004da042094b0e2')
16 build() {
17   cd ${srcdir}
18   install -Dm755 $pkgname${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}/ditaa-${pkgver}.jar
19   install -Dm755 ${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}
20   sed -i "s/VERSION/${pkgver}/" ${pkgdir}/usr/bin/${pkgname}