[aur-general] [OUTDATED] qtjambi

Alessio Bolognino themolok.ml at gmail.com
Wed May 21 06:26:00 EDT 2008


On Tue 2008-05-20 23:01, Bráulio Barros de Oliveira wrote:
> ok, done

I don't want to nitpick, but it would be better to avoid the useless
variables: _pkgfqn, now renamed _qt, it's used only twice, furthermore
AUR doesn't play well when custom variables are used in the source
array. This is the idea:

------------8<-------------------8<-------------------8<---------------
--- PKGBUILD.orig       2008-05-21 12:15:19.000000000 +0200
+++ PKGBUILD    2008-05-21 12:21:49.000000000 +0200
@@ -9,16 +9,15 @@
 license=('GPL')
 depends=(qt4=$pkgver)
 makedepends=('jdk')
-_qt=qt-x11-opensource-src-$pkgver
 source=(http://trolltech.com/developer/download/${pkgname}-gpl-src-${pkgver}_01.tar.gz
-  ftp://ftp.trolltech.com/qt/source/${_qt}.tar.gz)
+  ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-$pkgver.tar.gz)
 md5sums=('825bd6df42210a4ced06cde9733675ee'
   '9499101ec54eb7b0de195b3c5e3ffa93')

 build() {
   cd $srcdir/$pkgname-gpl-src-${pkgver}_01

-  export QTDIR=$srcdir/${_qt}
+  export QTDIR=$srcdir/qt-x11-opensource-src-$pkgver
   export JAVADIR=/opt/java

   cd generator
----------->8------------------->8------------------->8---------------- 

Cheers,

-- 
Alessio (molok) Bolognino

Please send personal email to themolok at gmail.com

Public Key http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFE0270FB
GPG Key ID = 1024D / FE0270FB 2007-04-11
Key Fingerprint = 9AF8 9011 F271 450D 59CF  2D7D 96C9 8F2A FE02 70FB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/aur-general/attachments/20080521/34058a20/attachment.pgp>


More information about the aur-general mailing list