summaryrefslogtreecommitdiff
path: root/pcr/twinkle/PKGBUILD
diff options
context:
space:
mode:
authorAlon Ivtsan <alonivtsan@lavabit.com>2013-11-24 21:46:41 +0200
committerAlon Ivtsan <alonivtsan@lavabit.com>2013-11-24 21:46:41 +0200
commit78df64e6ef7c8e4baeee2ca855fc51291025ce92 (patch)
tree1351417f90bdfc7135bf58634de884dcbdf65509 /pcr/twinkle/PKGBUILD
parent4f9c73e0b603e1bbe529e028c02747bda5ef56e1 (diff)
adding twinkle version 1.4.2-19 to pcr
Diffstat (limited to 'pcr/twinkle/PKGBUILD')
-rw-r--r--pcr/twinkle/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/pcr/twinkle/PKGBUILD b/pcr/twinkle/PKGBUILD
new file mode 100644
index 000000000..97b9bcdbb
--- /dev/null
+++ b/pcr/twinkle/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 68598 2012-03-29 08:03:13Z arodseth $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Jeff Mickey <jeff@archlinux.org>
+# Contributor: Alexander Baldeck <alexander@archlinux.org>
+# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+
+pkgname=twinkle
+pkgver=1.4.2
+pkgrel=19
+pkgdesc="Softphone for voice over IP and IM communication using SIP"
+arch=('x86_64' 'i686')
+url="http://www.twinklephone.com/"
+license=('GPL')
+depends=('file' 'speex' 'boost-libs' 'libsndfile' 'qt3' 'libzrtpcpp'
+'commoncpp2' 'libxml2')
+makedepends=('pkg-config' 'boost')
+source=("http://www.xs4all.nl/~mfnboer/$pkgname/download/$pkgname-$pkgver.tar.gz"
+ twinkle-1.4.2-ccrtp.patch)
+md5sums=('d70c8972f296ffd998c7fb698774705b'
+ '934f59ff60a8ae29a152feb8bf131ae2')
+
+build() {
+ cd "$srcdir"
+ gendesk
+ patch -p0 < ./twinkle-1.4.2-ccrtp.patch || return 1
+
+ cd "$pkgname-$pkgver"
+ aclocal
+ autoconf
+ automake -a
+ export QTDIR=/usr/lib/qt3
+ export PATH=$QTDIR/bin:$PATH
+ CPPFLAGS="$CPPFLAGS -I/usr/include/qt3" \
+ ./configure --prefix=/usr \
+ --without-kde \
+ --with-speex \
+ --without-ilbc \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$pkgdir/usr/share/twinkle/twinkle48.png" \
+ "$pkgdir/usr/share/pixmaps/twinkle.png"
+ install -Dm644 twinkle.desktop \
+ "$pkgdir/usr/share/applications/twinkle.desktop"
+}