summaryrefslogtreecommitdiff
path: root/pcr/kommute
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-12-20 00:07:19 -0500
committerGaming4JC <g4jc@openmailbox.org>2015-12-20 00:07:19 -0500
commit731e6d82cbf56e9890a1a1825be7aa6c0b77f78a (patch)
tree622bc82b1c7aabcbbc08b9a30a283ed4fd46e201 /pcr/kommute
parent13f18ba4894b1ee87beb1b521b02fec54b655d08 (diff)
downloadabslibre-731e6d82cbf56e9890a1a1825be7aa6c0b77f78a.tar.gz
abslibre-731e6d82cbf56e9890a1a1825be7aa6c0b77f78a.tar.bz2
abslibre-731e6d82cbf56e9890a1a1825be7aa6c0b77f78a.zip
mostly working Calypso PKGBUILD
Diffstat (limited to 'pcr/kommute')
-rw-r--r--pcr/kommute/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/kommute/PKGBUILD b/pcr/kommute/PKGBUILD
new file mode 100644
index 000000000..5bf87977b
--- /dev/null
+++ b/pcr/kommute/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+
+pkgname=kommute
+pkgver=0.24
+pkgrel=1
+pkgdesc="Calypso is a cross platfrom file sharing client using the anonymous network MUTE."
+arch=(i686 x86_64)
+url="http://calypso.sourceforge.net"
+license=('GPL2')
+makedepends=('gcc-libs' 'qt4')
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgver/$pkgname-$pkgver-1.tar.gz"
+"https://www.cryptopp.com/cryptopp563.zip")
+sha512sums=('e9a4ebad2a3bbab052124f64841fbb0352857671354091e9d176f6e02ccc1f1e5adc3530c33c3141851d914ceda3b4ef921ddf211c67586a1ecb8ae38cb5566a'
+'b3b963e87d937aeae03aa41849c23bb03fc0a8e627afddb8aa74bc07edf51949888aaa25cb4888053455524e7c5dd8de1f11e227acfab3a3ea344285b6408ce0')
+
+prepare()
+ {
+ ## Upgrade all included crypto libraries to Crypto++ 5.63
+ find ${srcdir} -maxdepth 1 -mindepth 1 -not -name kommute \
+ -exec mv '{}' ${srcdir}/$pkgname/$pkgname/src/MUTE/crypto \;
+
+ ## remove the redundant '::QPixmap'
+ sed -i 's|::QPixmap||' ${srcdir}/$pkgname/$pkgname/src/connectionquality.cpp
+ }
+
+build() {
+ cd ${srcdir}/$pkgname/$pkgname
+ qmake-qt4
+ make clean
+ make INSTALL_ROOT=${pkgdir} PREFIX=/usr QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 \
+ QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
+}
+
+package() {
+ cd $pkgname/$pkgname
+ qmake-qt4
+ make INSTALL_ROOT=$startdir/pkg/ install
+ cp -r $startdir/pkg/usr "$pkgdir"/usr
+} \ No newline at end of file