From 5aa2d7527764c179fd31c1c3505b572773224c94 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Apr 2013 00:05:35 -0700 Subject: Wed Apr 10 00:05:35 PDT 2013 --- community/vyqchat/PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'community/vyqchat/PKGBUILD') diff --git a/community/vyqchat/PKGBUILD b/community/vyqchat/PKGBUILD index 9e8a0dc5a..135ff8e63 100644 --- a/community/vyqchat/PKGBUILD +++ b/community/vyqchat/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 65377 2012-02-21 02:28:00Z spupykin $ +# $Id: PKGBUILD 88015 2013-04-09 21:51:55Z eric $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin @@ -12,10 +12,10 @@ 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') +md5sums=('67974bc5df1ed0d63785d04325444d4f' + 'de3af70da3743c27929f04f72c837412') build() { - . /etc/profile.d/qt3.sh cd $srcdir/$pkgname-${pkgver} patch -Np1 <../build-fix.patch # Use _LDADD to properly compile with --as-needed @@ -23,7 +23,11 @@ build() { # 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 + ./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 } -- cgit v1.2.3-54-g00ecf