blob: 07e63c13d278ee8149261691b1e9dcff7917b5f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Johannes Wienke <languitar at semipol dot de>
# Contributor: James An <james@jamesan.ca>
pkgname=simian
pkgver=2.5.10
pkgrel=1
pkgdesc="A similarity analyser that identifies duplication in Java, C-sharp, C, C++, COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic, Groovy source code and even plain text files"
arch=('any')
url="http://harukizaemon.com/simian"
license=('custom')
depends=('java-runtime')
source=("http://harukizaemon.com/$pkgname/$pkgname-$pkgver.tar.gz"
"$pkgname")
md5sums=('4778ff9355dc701b9b23924af0c38551'
'83707665662bb85d5878ff13421f4c4a')
package() {
msg2 'Adding executable files...'
install -D -m644 "bin/$pkgname-$pkgver.jar" "$pkgdir/usr/share/java/$pkgname/$pkgname.jar"
install -D -m755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
msg2 'Adding license file...'
install -D -m644 license.pdf "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
msg2 'Adding doc files...'
install -D -m755 license.pdf "$pkgdir/usr/share/doc/$pkgname/LICENSE.txt"
install -D -m755 simian.* *.html *.gif *.png "$pkgdir/usr/share/doc/$pkgname"
mv javadoc "$pkgdir/usr/share/doc/$pkgname"
}
|