summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1788ef13bef72458cbc2fa6ad0c89a05cbc43b8a (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
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: M0Rf30
# Contributor: said
# Contributor: Ner0
# Contributor: farnsworth517 

pkgname=soulseekqt
pkgver=20150625
_pkgver=2015-6-25

if [[ "$CARCH" == 'x86_64' ]] ; then
   _pkgver=$_pkgver-64bit
else
   _pkgver=$_pkgver-32bit
fi

pkgrel=1
pkgdesc="A desktop client for the Soulseek peer-to-peer file sharing network"
arch=('i686' 'x86_64')
url="http://www.soulseekqt.net/news/"
license=('custom')

if [[ "$CARCH" == 'i686' ]] ; then
   depends=( 'libxext' 'fontconfig' 'libxrender' 'libsm' 'alsa-lib' )
   md5sums=( '902faf6740871ab1fd0f60b1cfab3e32'
             '0a2137a47e9ac0b4b57a0d55872d0842'
             '256ec24f7ad2d39ac8da0f1c03d3cafe' )
elif [[ "$CARCH" == 'x86_64' ]] ; then
   depends=( 'libxext' 'fontconfig' 'libxrender' )
   md5sums=( '0072ff19513466ca97de037e6e1d1875'
             '0a2137a47e9ac0b4b57a0d55872d0842'
             '256ec24f7ad2d39ac8da0f1c03d3cafe' )
fi

source=( "https://dl.dropboxusercontent.com/u/7226803/SoulseekQt-$_pkgver.tgz"
         $pkgname.desktop 
         $pkgname.png )

package() {
  install -vDm755 "$srcdir/SoulseekQt-$_pkgver" "$pkgdir/usr/bin/$pkgname"
  install -vDm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
  install -vDm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}