Date: Monday, April 20, 2020 @ 13:47:54 Author: idevolder Revision: 617040
archrelease: copy trunk to community-x86_64 Added: qcad/repos/community-x86_64/PKGBUILD (from rev 617039, qcad/trunk/PKGBUILD) Deleted: qcad/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 182 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 91 insertions(+), 91 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-04-20 13:47:49 UTC (rev 617039) +++ PKGBUILD 2020-04-20 13:47:54 UTC (rev 617040) @@ -1,91 +0,0 @@ -# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Stefan Husmann <stefan-husm...@t-online.de> -# Contributor: Giovanni Scafora <linuxma...@gmail.com> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=qcad -pkgver=3.24.3.0 -pkgrel=1 -pkgdesc='A 2D CAD package based upon Qt' -arch=('x86_64') -url="https://www.qcad.org" -license=('GPL3') -depends=('qt5-script' 'qt5-svg' 'gcc-libs' 'qt5-xmlpatterns' 'qt5-tools') -makedepends=('glu') -source=("$pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz") -sha512sums=('27b66abb1e8d04b60e140204a2c92d576998b894e117197b9f89d3c870f61e1f54e276f829e2f878443da4019e47afd5a2df124b8667671c523d5a717f684716') - -prepare() { - rm *.tar.gz - cd qcad-$pkgver - sed -e 's|$${QT_VERSION}|5.5.0|g' \ - -i src/3rdparty/3rdparty.pro # Don't require specific Qt version -} - -build() { - cd qcad-$pkgver - qmake-qt5 qcad.pro - make -} - -package() { - cd 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/lib/qcad - cp -r examples fonts libraries linetypes patterns scripts themes ts \ - "$pkgdir"/usr/lib/qcad - cp release/{*.so,qcad-bin} "$pkgdir"/usr/lib/qcad - - # install man - install -Dm644 qcad.1 "$pkgdir"/usr/share/man/man1/qcad.1 - - # readme - install -Dm644 readme.txt "$pkgdir"/usr/lib/qcad/readme.txt - - # qt - cp -r plugins platforminputcontexts platforms xcbglintegrations \ - "$pkgdir"/usr/lib/qcad - #install -dm755 "$pkgdir"/usr/lib/qcad/plugins/{designer,imageformats,printsupport,sqldrivers} - #for sofiles in /usr/lib/qt/plugins/designer/*.so - #do - #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/designer/${sofiles##/*/} - #done - #for sofiles in /usr/lib/qt/plugins/imageformats/*.so - #do - #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/imageformats/${sofiles##/*/} - #done - #for sofiles in /usr/lib/qt/plugins/printsupport/*.so - #do - #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/printsupport/${sofiles##/*/} - #done - #for sofiles in /usr/lib/qt/plugins/sqldrivers/*.so - #do - #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/sqldrivers/${sofiles##/*/} - #done - #install -dm755 "$pkgdir"/usr/lib/qcad/{platforminputcontexts,platforms,xcbglintegrations} - #for sofiles in /usr/lib/qt/plugins/platforminputcontexts/*.so - #do - #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/platforminputcontexts/${sofiles##/*/} - #done - #for sofiles in /usr/lib/qt/plugins/platforms/*.so - #do - #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/platforms/${sofiles##/*/} - #done - #for sofiles in /usr/lib/qt/plugins/xcbglintegrations/*.so - #do - #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/xcbglintegrations/${sofiles##/*/} - #done - - install -Dm644 scripts/qcad_icon.png "$pkgdir"/usr/share/pixmaps/qcad_icon.png - install -Dm644 qcad.desktop "$pkgdir"/usr/share/applications/qcad.desktop - - install -dm755 "$pkgdir"/usr/bin - echo -e '#!/bin/sh\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/usr/lib/qcad" exec /usr/lib/qcad/qcad-bin "$@"' >"$pkgdir"/usr/bin/qcad - - chmod 0755 "$pkgdir"/usr/bin/qcad -} Copied: qcad/repos/community-x86_64/PKGBUILD (from rev 617039, qcad/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-04-20 13:47:54 UTC (rev 617040) @@ -0,0 +1,91 @@ +# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> +# Contributor: Giovanni Scafora <linuxma...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=qcad +pkgver=3.24.3.3 +pkgrel=1 +pkgdesc='A 2D CAD package based upon Qt' +arch=('x86_64') +url="https://www.qcad.org" +license=('GPL3') +depends=('qt5-script' 'qt5-svg' 'gcc-libs' 'qt5-xmlpatterns' 'qt5-tools') +makedepends=('glu') +source=("$pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz") +sha512sums=('8ca01a87ee4017b8a18f7b18140957cfad4b6ccebc9b734497b57c1894c2aebca974f3db865311c4f1cd23b42853a84c4ab9d77bb96afe16924476195b900d12') + +prepare() { + rm *.tar.gz + cd qcad-$pkgver + sed -e 's|$${QT_VERSION}|5.5.0|g' \ + -i src/3rdparty/3rdparty.pro # Don't require specific Qt version +} + +build() { + cd qcad-$pkgver + qmake-qt5 qcad.pro + make +} + +package() { + cd 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/lib/qcad + cp -r examples fonts libraries linetypes patterns scripts themes ts \ + "$pkgdir"/usr/lib/qcad + cp release/{*.so,qcad-bin} "$pkgdir"/usr/lib/qcad + + # install man + install -Dm644 qcad.1 "$pkgdir"/usr/share/man/man1/qcad.1 + + # readme + install -Dm644 readme.txt "$pkgdir"/usr/lib/qcad/readme.txt + + # qt + cp -r plugins platforminputcontexts platforms xcbglintegrations \ + "$pkgdir"/usr/lib/qcad + #install -dm755 "$pkgdir"/usr/lib/qcad/plugins/{designer,imageformats,printsupport,sqldrivers} + #for sofiles in /usr/lib/qt/plugins/designer/*.so + #do + #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/designer/${sofiles##/*/} + #done + #for sofiles in /usr/lib/qt/plugins/imageformats/*.so + #do + #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/imageformats/${sofiles##/*/} + #done + #for sofiles in /usr/lib/qt/plugins/printsupport/*.so + #do + #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/printsupport/${sofiles##/*/} + #done + #for sofiles in /usr/lib/qt/plugins/sqldrivers/*.so + #do + #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/sqldrivers/${sofiles##/*/} + #done + #install -dm755 "$pkgdir"/usr/lib/qcad/{platforminputcontexts,platforms,xcbglintegrations} + #for sofiles in /usr/lib/qt/plugins/platforminputcontexts/*.so + #do + #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/platforminputcontexts/${sofiles##/*/} + #done + #for sofiles in /usr/lib/qt/plugins/platforms/*.so + #do + #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/platforms/${sofiles##/*/} + #done + #for sofiles in /usr/lib/qt/plugins/xcbglintegrations/*.so + #do + #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/xcbglintegrations/${sofiles##/*/} + #done + + install -Dm644 scripts/qcad_icon.png "$pkgdir"/usr/share/pixmaps/qcad_icon.png + install -Dm644 qcad.desktop "$pkgdir"/usr/share/applications/qcad.desktop + + install -dm755 "$pkgdir"/usr/bin + echo -e '#!/bin/sh\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/usr/lib/qcad" exec /usr/lib/qcad/qcad-bin "$@"' >"$pkgdir"/usr/bin/qcad + + chmod 0755 "$pkgdir"/usr/bin/qcad +}