summaryrefslogtreecommitdiff
path: root/community/vyqchat/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/vyqchat/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/vyqchat/PKGBUILD')
-rw-r--r--community/vyqchat/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/vyqchat/PKGBUILD b/community/vyqchat/PKGBUILD
new file mode 100644
index 000000000..135ff8e63
--- /dev/null
+++ b/community/vyqchat/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 88015 2013-04-09 21:51:55Z eric $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=vyqchat
+pkgver=0.2.8
+pkgrel=4
+pkgdesc="vypress compatible qt chat (can work without server)"
+arch=('i686' 'x86_64')
+url="http://linux.bydg.org/~yogin/"
+license=('GPL')
+depends=('qt3' 'libao' 'libxi')
+source=(http://www.uic.unn.ru/~soed/programs/chat/$pkgname-$pkgver.tar.gz
+ build-fix.patch)
+md5sums=('67974bc5df1ed0d63785d04325444d4f'
+ 'de3af70da3743c27929f04f72c837412')
+
+build() {
+ cd $srcdir/$pkgname-${pkgver}
+ patch -Np1 <../build-fix.patch
+ # Use _LDADD to properly compile with --as-needed
+ sed -i 's/vyqchat_LDFLAGS/vyqchat_LDADD/' src/Makefile.am
+ # Correct acinclude.m4 to avoid empty else block
+ sed -i 's:# Leave bnv_qt_lib_dir defined:/bin/true:' acinclude.m4
+ autoreconf -v
+ ./configure --prefix=/usr --with-Qt-bin-dir=/usr/lib/qt3/bin --with-Qt-include-dir=/usr/include/qt3 --with-Qt-lib-dir=/usr/lib
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-${pkgver}
+ make DESTDIR=$pkgdir install
+}