pkgbuild-veroroute

Veroboard, Perfboard, and PCB layout and routing application
git clone git://fossdaily.xyz/pkgbuild-veroroute
Log | Files | Refs

commit 4c4281e2461071cdcad7d95d5fba3ea05b0e5cf0
Author: caltlgin <contact@fossdaily.xyz>
Date:   Wed, 18 Nov 2020 17:09:36 +1300

Add to caltlgin repo

Diffstat:
A.SRCINFO | 14++++++++++++++
A.gitignore | 4++++
APKGBUILD | 44++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = veroroute + pkgdesc = Veroboard, Perfboard, and PCB layout and routing application + pkgver = 2.00 + pkgrel = 1 + url = https://sourceforge.net/projects/veroroute/ + arch = x86_64 + license = GPL3 + depends = qt5-base + optdepends = geda-gaf: import schematic from gEDA + source = https://downloads.sourceforge.net/project/veroroute/veroroute-2.00.tar.gz + sha256sums = 60953bcb4d3d5c197f4f2e32e08b27494617dad51aa436ec657c986d7769806c + +pkgname = veroroute + diff --git a/.gitignore b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> + +_pkgname='VeroRoute' +pkgname="${_pkgname,,}" +pkgver=2.00 +pkgrel=1 +pkgdesc='Veroboard, Perfboard, and PCB layout and routing application' +arch=('x86_64') +url='https://sourceforge.net/projects/veroroute/' +license=('GPL3') +depends=('qt5-base') +optdepends=('geda-gaf: import schematic from gEDA') +source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('60953bcb4d3d5c197f4f2e32e08b27494617dad51aa436ec657c986d7769806c') + +build() { + cd "${_pkgname}" + qmake-qt5 \ + PREFIX='/usr' \ + QMAKE_CFLAGS="$CFLAGS" \ + QMAKE_CXXFLAGS="$CXXFLAGS" \ + QMAKE_LFLAGS="$LDFLAGS" \ + "Src/${pkgname}.pro" + make +} + +package() { + cd "${_pkgname}" + install -Dvm755 "${pkgname}" -t "${pkgdir}/usr/bin" + install -Dvm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dvm644 "${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps" + install -Dvm644 "${pkgname}.png" -t "${pkgdir}/usr/share/${pkgname}" + install -Dvm644 "${pkgname}.1" -t "${pkgdir}/usr/share/man/man1" + install -Dvm644 'README.txt' -t "${pkgdir}/usr/share/doc/${pkgname}" + + install -Dvm644 'tutorials/'*.vrt -t "${pkgdir}/usr/share/${pkgname}/tutorials" + install -Dvm644 "libraries/gEDA/${pkgname}-clib.scm" -t "${pkgdir}/usr/share/gEDA/gafrc.d" + + install -dv "${pkgdir}/usr/share/gEDA/sym" + cd 'libraries/gEDA' + find . -mindepth 2 -type f -exec install -Dvm644 "{}" "${pkgdir}/usr/share/gEDA/sym/{}" \; +} + +# vim: ts=2 sw=2 et: