updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / jajuk / PKGBUILD
blobc0eb77c85fbd6ae347f67c0ff1a1b4e494c119c6
1 # Maintainer: Košava <kosava at gmail.com>
3 pkgname=jajuk
4 pkgver=1.9.5
5 pkgrel=1
6 pkgdesc="A full-featured jukebox geared towards advanced users with large or scattered music collections"
7 arch=('any')
8 url="http://jajuk.info/"
9 license=('GPL')
10 depends=('java-runtime')
11 makedepends=('apache-ant')
12 source=(http://prdownloads.sourceforge.net/jajuk/jajuk-sources-${pkgver}.zip jajuk-bin)
13 sha1sums=('9c94e780a7f8c1bf3c9ccd6207159b0f7eea1642'
14          '4715cd86f3959923b3fa98659d77048f368f92b0')
16 build() {
17   cd ${srcdir}/${pkgname}-src-${pkgver}/src/scripts
18   /usr/share/java/apache-ant/bin/ant
21 package() {
22   cd $srcdir/${pkgname}-src-${pkgver}
23   mkdir -p $pkgdir/usr/share/java/
24   mkdir -p $pkgdir/usr/share/{applications,pixmaps}
25   install src/packaging/RPMS/jajuk.desktop $pkgdir/usr/share/applications
26   install src/main/resources/icons/16x16/jajuk-icon_16x16.png $pkgdir/usr/share/pixmaps
27   cp -r  /tmp/jajuk-dist/jajuk $pkgdir/usr/share/java/
28   install -D -m 755 $srcdir/jajuk-bin $pkgdir/usr/bin/jajuk