Merge pull request #2414 from steski/fritzing

New package: Fritzing-0.9.2b
This commit is contained in:
Juan RP 2015-08-31 07:52:19 +02:00
commit 7beb64f0b3
2 changed files with 25 additions and 0 deletions

23
srcpkgs/Fritzing/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'Fritzing'
pkgname=Fritzing
version=0.9.2b
revision=1
build_style=qmake
nocross=yes
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}"
pre_build() {
rmdir "${wrksrc}/parts"
mv ${XBPS_BUILDDIR}/fritzing-parts-$version/ $wrksrc/parts
}

2
srcpkgs/Fritzing/update Normal file
View file

@ -0,0 +1,2 @@
site="https://api.github.com/repos/fritzing/fritzing-app/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)b(?=")'