updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / openstego / PKGBUILD
blobdf2d3598032ce714b7aeb431a32cc942fd717212
1 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
2 pkgname=openstego
3 pkgver=0.5.2
4 pkgrel=1
5 pkgdesc="Plugin based tool for steganography, with encrytion support."
6 arch=('i686' 'x86_64')
7 url="http://openstego.sourceforge.net"
8 license=('GPL2')
9 depends=('java-runtime' 'x-server')
10 makedepends=('unzip')
11 source=(http://downloads.sf.net/$pkgname/$pkgname-$pkgver.zip $pkgname.sh)
12 md5sums=('fdaeb192c86e359cb2cdb24b6a68274c'
13          '1208162b85c214fcc9c7b43e29dd604b')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   install -D -m644 lib/$pkgname.jar "$pkgdir"/usr/share/java/$pkgname/$pkgname.jar
18   install -D -m644 README "$pkgdir"/usr/share/doc/$pkgname/README
19   install -D -m755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
21   # Javadoc API documentation
22   cp -R doc/api "$pkgdir"/usr/share/doc/$pkgname/api
23   find "$pkgdir"/usr/share/doc/$pkgname/api -type f -exec chmod 644 {} \;