[arch-commits] Commit in qcad/repos/community-x86_64 (PKGBUILD PKGBUILD)
Ike Devolder
idevolder at archlinux.org
Thu Aug 23 16:41:33 UTC 2018
Date: Thursday, August 23, 2018 @ 16:41:32
Author: idevolder
Revision: 373450
archrelease: copy trunk to community-x86_64
Added:
qcad/repos/community-x86_64/PKGBUILD
(from rev 373449, qcad/trunk/PKGBUILD)
Deleted:
qcad/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 184 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 92 insertions(+), 92 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-23 16:41:25 UTC (rev 373449)
+++ PKGBUILD 2018-08-23 16:41:32 UTC (rev 373450)
@@ -1,92 +0,0 @@
-# $Id$
-# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Giovanni Scafora <linuxmania at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=qcad
-pkgver=3.21.2.3
-pkgrel=1
-pkgdesc='A 2D CAD package based upon Qt'
-arch=('x86_64')
-url="http://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=('83f88da8afbde9a658dee8c1f0d9019712db3fe3c3302ba56ba90c2a8c7b7f630b60e17e7a88fcd2acd4df94614af6a34594c1a72b9b87d915044e787086ae91')
-
-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 373449, qcad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-23 16:41:32 UTC (rev 373450)
@@ -0,0 +1,92 @@
+# $Id$
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Giovanni Scafora <linuxmania at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=qcad
+pkgver=3.21.2.5
+pkgrel=1
+pkgdesc='A 2D CAD package based upon Qt'
+arch=('x86_64')
+url="http://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=('3350372996d6a9b62b9cedd7bb54c090f6f60bc396791851118e648cb5e37c18301f05d248e2a95c74fc2f7898a5af1eb0e1bbfac4c3886314b6bdc6c8454e60')
+
+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
+}
More information about the arch-commits
mailing list