# $Id: PKGBUILD 1822 2009-09-04 20:25:45Z ibiru $ # Maintainer: Douglas Soares de Andrade # Contributor: Claudio Riva # Contributor: G_Syme pkgname=argouml _realname=ArgoUML pkgver=0.28.1 pkgrel=1 pkgdesc="A UML design tool with cognitive support" arch=('i686' 'x86_64') license=('BSD') url="http://argouml.tigris.org/" depends=('java-runtime') source=(http://argouml-downloads.tigris.org/nonav/$pkgname-$pkgver/${_realname}-$pkgver.tar.gz argo.sh license.txt) build() { mkdir -p $startdir/pkg{/usr/bin,/usr/share/java/$pkgname} # Copying the argo script to /usr/bin install -m755 argo.sh $startdir/pkg/usr/bin/argouml cd $startdir/src/$pkgname-$pkgver # Copying necessary files mv *.jar $startdir/pkg/usr/share/java/$pkgname # Thanks firetux for poiting this out mv ext/ $startdir/pkg/usr/share/java/$pkgname # Installing license install -D -m644 $startdir/src/license.txt $startdir/pkg/usr/share/licenses/$pkgname/license.txt } md5sums=('4e8bb7bb881ef403924cd2c63038c287' '8640699e0bf100141a1b20ca1bb09f6c' '0ea0250f7fb6bafa3a48224e66ce7098')