updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / sockso / PKGBUILD
blobb8b684b86428e537add0efdad26dddf99522f5ea
1 # Maintainer: Sabart Otto - Seberm <seberm[at]gmail[dot]com>
3 pkgname=sockso
4 pkgver=1.5
5 pkgrel=1
6 pkgdesc="A free open source Personal Music Server for everyone."
7 arch=('i686' 'x86_64')
8 url="http://sockso.pu-gh.com/"
9 license=('GPL')
10 depends=('java-runtime')        # Or 'jre'
11 source=(http://sockso.googlecode.com/files/${pkgname}-${pkgver}.zip $pkgname ${pkgname}.desktop ${pkgname}.png)
12     
13 md5sums=('492c32999fbb395c0ea3bf00a7adfd36'
14          'c41319ca107174cbb8f1fa4315570123'
15          'de125a1492ca8f3a6ce5334a81d33229'
16          '16da5e24b73441a98fdd409adb656f43')
18 build() {
19         
20         # Delete win garbage
21         rm -f $srcdir/${pkgname}-${pkgver}/windows.bat
22         
23         # Make directory
24         mkdir -p $pkgdir/opt/$pkgname/
25         
26         # Copy files
27         cp -R $srcdir/${pkgname}-${pkgver}/* $pkgdir/opt/$pkgname/
28         
29         # Install bin
30         install -D -m755 $srcdir/$pkgname $pkgdir/usr/bin/$pkgname
32         # Install .desktop and program icon
33         mkdir -p $pkgdir/usr/share/applications
34         install -m644 $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/
35         mkdir -p $pkgdir/usr/share/icons
36         install -m644 $srcdir/${pkgname}.png $pkgdir/usr/share/icons
38