diff options
author | root <root@rshg054.dnsready.net> | 2013-09-24 02:21:59 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-09-24 02:21:59 -0700 |
commit | edb4c972d5d23fcff220b7d3c33d3202bcb16af3 (patch) | |
tree | 65b7530d04405a6d5a181b8cd962ef5e32b43a4c /community/qcad | |
parent | 1f7e7fd1c04d3f64d5a0c022e516bacf9d2cc7a8 (diff) |
Tue Sep 24 02:19:00 PDT 2013
Diffstat (limited to 'community/qcad')
-rw-r--r-- | community/qcad/PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/community/qcad/PKGBUILD b/community/qcad/PKGBUILD index cf17e1398..b6919a163 100644 --- a/community/qcad/PKGBUILD +++ b/community/qcad/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 96852 2013-09-06 18:23:57Z spupykin $ +# $Id: PKGBUILD 97523 2013-09-23 16:15:04Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Giovanni Scafora <linuxmania@gmail.com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=qcad -pkgver=3.2.2.2 +pkgver=3.3.1.0 pkgrel=1 pkgdesc="A 2D CAD package based upon Qt" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ makedepends=('glu') options=(libtool) source=($pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz QCad.desktop) -md5sums=('49c05861b309c48f04ed7910b496e48c' +md5sums=('e6e469482b40515980c416e61482abc2' '35100eaedbdf6625f6e6a09b177854cd') prepare() { @@ -64,6 +64,7 @@ package() { install -Dm644 $srcdir/QCad.desktop ${pkgdir}/usr/share/applications/QCad.desktop install -dm0755 $pkgdir/usr/bin - echo -e '#!/bin/sh\ncd /usr/share/qcad\nLD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH exec ./qcad-bin' >$pkgdir/usr/bin/qcad + echo -e '#!/bin/sh\ncd /usr/share/qcad\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/usr/share/qcad" exec /usr/share/qcad/qcad-bin "$@"' >$pkgdir/usr/bin/qcad + chmod 0755 $pkgdir/usr/bin/qcad } |