void-packages/srcpkgs/Fritzing/template
2017-08-18 08:51:11 +02:00

26 lines
926 B
Bash

# Template file for 'Fritzing'
pkgname=Fritzing
version=0.9.2b
revision=2
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-devel qt5-serialport-devel qt5-svg-devel boost-devel"
depends="qt5-plugin-sqlite"
short_desc="Software for electronics prototyping"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2,GPL-3, CC-BY-SA-3.0"
homepage="http://fritzing.org"
distfiles="https://github.com/${pkgname}/${pkgname}-app/archive/${version}.tar.gz
https://github.com/${pkgname}/${pkgname}-parts/archive/${version}.tar.gz>parts.tar.gz"
checksum="6e9dbb94a4ca5e23effc2056f471c78913b9efa4c154ced94de8f72bfe29735f
5f5f5e26bfc33911f57b1620912fdf0a834c50d196b930ef70e784f3a447194b"
wrksrc="fritzing-app-${version}"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-serialport-devel qt5-svg-devel"
fi
pre_build() {
rmdir "${wrksrc}/parts"
mv ${XBPS_BUILDDIR}/fritzing-parts-$version/ $wrksrc/parts
}