summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dc11cdf55ad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: M0Rf30
+# Contributor: said
+# Contributor: Ner0
+# Contributor: farnsworth517
+
+pkgname=soulseekqt
+pkgver=20141130
+_pkgver=2014-11-30
+
+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=( '0ce2ebf13704574205cc4c47368fb14b'
+ '0a2137a47e9ac0b4b57a0d55872d0842'
+ '256ec24f7ad2d39ac8da0f1c03d3cafe' )
+elif [[ "$CARCH" == 'x86_64' ]] ; then
+ depends=( 'libxext' 'fontconfig' 'libxrender' )
+ md5sums=( '8f644c5903d11233ebb3c65a4eafaeb6'
+ '0a2137a47e9ac0b4b57a0d55872d0842'
+ '256ec24f7ad2d39ac8da0f1c03d3cafe' )
+fi
+
+source=( "http://www.soulseekqt.net/SoulseekQT/Linux/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"
+}