From 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Feb 2012 23:14:50 +0000 Subject: Mon Feb 6 23:14:50 UTC 2012 --- community/qcad/PKGBUILD | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) (limited to 'community/qcad') diff --git a/community/qcad/PKGBUILD b/community/qcad/PKGBUILD index 50853b837..28cacf696 100644 --- a/community/qcad/PKGBUILD +++ b/community/qcad/PKGBUILD @@ -1,10 +1,12 @@ +# $Id: PKGBUILD 63722 2012-02-05 12:09:17Z ibiru $ +# Maintainer: Sergej Pupykin # Contributor: Stefan Husmann # Contributor: Giovanni Scafora # Maintainer: Daniel J Griffiths pkgname=qcad pkgver=2.0.5.0 -pkgrel=8 +pkgrel=9 pkgdesc="A 2D CAD package based upon Qt" arch=('i686' 'x86_64') url="http://www.ribbonsoft.com/qcad.html" @@ -12,19 +14,18 @@ license=('GPL2') depends=('qt3') options=(libtool) source=(http://www.ribbonsoft.com/archives/$pkgname/$pkgname-$pkgver-1-community.src.tar.gz - qcad.xpm - QCad.desktop - qcad-intptr.patch + qcad.xpm + QCad.desktop + qcad-intptr.patch qcad.patch) # http://ghost1227.com/files/misc/qm.tar.gz) -md5sums=('96b6a56027782aec953c9c4e64c5998c' \ - 'da32fec0d2fb85d96126bf28bb0ab9ff' \ - 'b4d1eb6724b4b41f191f1ab6fd859c39' \ - '92f900fe1fd3a8f841232b587b49c7da' \ - '7e6779b1e3b10da1eb4daf36d93f8479' \ - '89f78319babd39a14679af8112f9e12c') +md5sums=('96b6a56027782aec953c9c4e64c5998c' + 'da32fec0d2fb85d96126bf28bb0ab9ff' + 'b4d1eb6724b4b41f191f1ab6fd859c39' + '92f900fe1fd3a8f841232b587b49c7da' + '7e6779b1e3b10da1eb4daf36d93f8479') -build () { +build() { export PATH="/opt/qt/bin:$PATH" export QTDIR=/opt/qt @@ -32,26 +33,21 @@ build () { #Arch64 fix - gentoo patch [ "$CARCH" = "x86_64" ] && patch -p1 < ../qcad-intptr.patch - patch -p1 < ../qcad.patch || return 1 - sed -i "s:"-pedantic"::g" mkspecs/defs.pro || return 1 + patch -p1 < ../qcad.patch + sed -i "s:"-pedantic"::g" mkspecs/defs.pro cd scripts - ./build_qcad.sh notrans || return 1 + ./build_qcad.sh notrans } package() { cd ${srcdir}/${pkgname}-2.0.5.0-1-community.src/qcad - install -D -m755 qcad ${pkgdir}/usr/bin/qcad || return 1 - install -d ${pkgdir}/usr/share/{qcad,pixmaps,applications} || return 1 - install -m644 ../../qcad.xpm ${pkgdir}/usr/share/pixmaps/qcad.xpm || return 1 + install -D -m755 qcad ${pkgdir}/usr/bin/qcad + install -d ${pkgdir}/usr/share/{qcad,pixmaps,applications} + install -m644 ../../qcad.xpm ${pkgdir}/usr/share/pixmaps/qcad.xpm install -m644 ../../QCad.desktop \ - ${pkgdir}/usr/share/applications/QCad.desktop || return 1 - cp -r fonts patterns data library machines ${pkgdir}/usr/share/qcad || return 1 + ${pkgdir}/usr/share/applications/QCad.desktop + cp -r fonts patterns data library machines ${pkgdir}/usr/share/qcad #cp -r ${srcdir}/qm ${pkgdir}/usr/share/qcad/ } -md5sums=('96b6a56027782aec953c9c4e64c5998c' - 'da32fec0d2fb85d96126bf28bb0ab9ff' - 'b4d1eb6724b4b41f191f1ab6fd859c39' - '92f900fe1fd3a8f841232b587b49c7da' - '7e6779b1e3b10da1eb4daf36d93f8479') -- cgit v1.2.3-54-g00ecf