diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-11 17:29:20 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-11 17:29:20 +0200 |
commit | 7a42705e87e0da5d2417b4293729e3ee1ae3b33c (patch) | |
tree | 04aa72c4fdff134e2c5ae9f539e092d5faafe808 /community/qcad | |
parent | e6ced89f44186539d8fedf73b62024aa2214230e (diff) | |
parent | 337402b957bab442da9e0d46ee7a8d8f32ede3ce (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/botan/PKGBUILD
community/qgo/PKGBUILD
community/ragel/PKGBUILD
extra/avahi/PKGBUILD
extra/kdepim/PKGBUILD
extra/libva/PKGBUILD
extra/libwnck3/PKGBUILD
extra/orc/PKGBUILD
extra/python/PKGBUILD
extra/python2/PKGBUILD
extra/qt3/PKGBUILD
Diffstat (limited to 'community/qcad')
-rw-r--r-- | community/qcad/PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/community/qcad/PKGBUILD b/community/qcad/PKGBUILD index 453b8ee2d..21712eeef 100644 --- a/community/qcad/PKGBUILD +++ b/community/qcad/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 77657 2012-10-13 11:44:42Z allan $ +# $Id: PKGBUILD 88003 2013-04-09 21:45:04Z eric $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Giovanni Scafora <linuxmania@gmail.com> @@ -19,17 +19,14 @@ source=(http://www.ribbonsoft.com/archives/$pkgname/$pkgname-$pkgver-1-community QCad.desktop qcad-intptr.patch qcad.patch) - # http://ghost1227.com/files/misc/qm.tar.gz) md5sums=('96b6a56027782aec953c9c4e64c5998c' 'da32fec0d2fb85d96126bf28bb0ab9ff' 'b4d1eb6724b4b41f191f1ab6fd859c39' '92f900fe1fd3a8f841232b587b49c7da' '7e6779b1e3b10da1eb4daf36d93f8479') +# http://ghost1227.com/files/misc/qm.tar.gz) build() { - export PATH="/opt/qt/bin:$PATH" - export QTDIR=/opt/qt - cd ${srcdir}/${pkgname}-2.0.5.0-1-community.src [ "$CARCH" = "x86_64" ] && { @@ -40,7 +37,11 @@ build() { sed -i "s:"-pedantic"::g" mkspecs/defs.pro cd scripts - ./build_qcad.sh notrans + sed -i "s|INCLUDEPATH += ../include|INCLUDEPATH += ../include /usr/include/qt3|" ../*/src/*.pro + sed -i "s|../../qcadlib/include|../../qcadlib/include /usr/include/qt3|" ../qcad/src/qcad.pro + sed -i "s/qmake/qmake-qt3/" build_qcad.sh + sed -i 's|eval $MAKE|sed -i "s/-lqt/-lqt-mt/" ../qcad/src/Makefile;eval $MAKE|' build_qcad.sh + QTDIR=/usr/lib/qt3 ./build_qcad.sh notrans } package() { |