updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / simian / PKGBUILD
blob57903d82b36329959371fbccea0d168e96d11202
1 # Contributor: Johannes Wienke <languitar at semipol dot de>
3 pkgname=simian
4 pkgver=2.3.33
5 pkgrel=1
6 pkgdesc="Simian (Similarity Analyser) identifies duplication in source code and plain text files"
7 arch=('i686' 'x86_64')
8 url="http://www.harukizaemon.com/simian/"
9 license=('custom')
10 depends=('java-runtime')
11 source=(http://www.harukizaemon.com/$pkgname/$pkgname-$pkgver.tar.gz
12         $pkgname)
13 md5sums=('e79e05e5ee3b19677208fe7f5ddecadb'
14          'cc8d6a315c3e59c6cf10dc96baa5e0dc')
16 build() {
17   cd $startdir/src
18   
19   install -D -m644 bin/$pkgname-$pkgver.jar $pkgdir/usr/share/java/$pkgname/$pkgname.jar || return 1
20   install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt || return 1
21   install -D -m755 $startdir/src/$pkgname $pkgdir/usr/bin/$pkgname || return 1