From 18a41d682d6e91e0d28fce23eb75292f477bd620 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Aug 2013 01:21:34 -0700 Subject: Sun Aug 11 01:21:31 PDT 2013 --- community/qcad/PKGBUILD | 65 --------------------------------------------- community/qcad/QCad.desktop | 9 ------- 2 files changed, 74 deletions(-) delete mode 100644 community/qcad/PKGBUILD delete mode 100644 community/qcad/QCad.desktop (limited to 'community/qcad') diff --git a/community/qcad/PKGBUILD b/community/qcad/PKGBUILD deleted file mode 100644 index 563c7c266..000000000 --- a/community/qcad/PKGBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# $Id: PKGBUILD 93132 2013-06-25 14:39:54Z spupykin $ -# Maintainer: Sergej Pupykin -# Contributor: Stefan Husmann -# Contributor: Giovanni Scafora -# Contributor: Daniel J Griffiths - -pkgname=qcad -pkgver=3.1.2.0 -pkgrel=1 -pkgdesc="A 2D CAD package based upon Qt" -arch=('i686' 'x86_64') -url="http://www.ribbonsoft.com/qcad.html" -license=('GPL3') -depends=('qtwebkit') -makedepends=('glu') -options=(libtool) -source=($pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz - QCad.desktop) -md5sums=('9741d2e4f01b59107a50c0c95af7b972' - '8c4288986b78b14a813b005e81b6ba53') - -prepare() { - cd ${srcdir}/qcad-$pkgver - sed -i '1,1i#include ' src/core/{RLocalPeer,RS}.cpp - sed -i '1,1i#include ' src/core/{RScriptHandler,RS}.cpp -} - -build() { - cd ${srcdir}/qcad-$pkgver - qmake-qt4 - make all -j1 -} - -package() { - cd ${srcdir}/qcad-$pkgver - - # remove project files - find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete - find . \( -name 'Makefile' -name '.gitignore' \) -delete - - install -dm755 ${pkgdir}/usr/share/{qcad,pixmaps,applications} - cp -r examples fonts libraries patterns plugins scripts ts ${pkgdir}/usr/share/qcad - cp debug/* ${pkgdir}/usr/share/qcad - - install -m755 readme.txt ${pkgdir}/usr/share/qcad/readme.txt - - # qtwebkit - ln -sf /usr/lib/qt4/plugins/designer/libqwebview.so ${pkgdir}/usr/share/qcad/plugins/designer/libqwebview.so - # qt - for sofiles in /usr/lib/qt4/plugins/imageformats/*.so - do - ln -sf ${sofiles} ${pkgdir}/usr/share/qcad/plugins/imageformats/${sofiles##/*/} - done - for sofiles in /usr/lib/qt4/plugins/sqldrivers/*.so - do - ln -sf ${sofiles} ${pkgdir}/usr/share/qcad/plugins/sqldrivers/${sofiles##/*/} - done - - install -Dm644 scripts/qcad_icon.png ${pkgdir}/usr/share/pixmaps/qcad_icon.png - 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 - chmod 0755 $pkgdir/usr/bin/qcad -} diff --git a/community/qcad/QCad.desktop b/community/qcad/QCad.desktop deleted file mode 100644 index 5841b786e..000000000 --- a/community/qcad/QCad.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=/usr/share/qcad/qcad -Icon=/usr/share/pixmaps/qcad_icon.png -Name=QCad -StartupNotify=true -Terminal=false -Type=Application -Categories=Application;Office; -- cgit v1.2.3-54-g00ecf