blob: 2f8dc6b43e8c7fa111f54558b450ab7082f816c7 (
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
43
|
# Maintainer: M0Rf30
# Contributor: said
# Contributor: Ner0
# Contributor: farnsworth517
pkgname=soulseekqt
pkgver=20160117
_pkgver=2016-1-17
if [[ "$CARCH" == 'x86_64' ]] ; then
_pkgver=$_pkgver-64bit
else
_pkgver=$_pkgver-32bit
fi
pkgrel=2
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' )
md5sums=( '906d99b15ed02d0d66981fffeeea1218'
'810a4200a3c8568257b66b6bdea5c29c'
'256ec24f7ad2d39ac8da0f1c03d3cafe' )
elif [[ "$CARCH" == 'x86_64' ]] ; then
depends=( 'libxext' 'fontconfig' 'libxrender' )
md5sums=( 'c843e748a129e4ad9461280aeb2b957a'
'810a4200a3c8568257b66b6bdea5c29c'
'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/soulseek.png"
}
|