From 8a91965047ac8b0db0c0d4b430317efa8f3c91ee Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Sun, 30 Aug 2015 17:27:54 -0400 Subject: [PATCH] New package: Fritzing-0.9.2b --- srcpkgs/Fritzing/template | 23 +++++++++++++++++++++++ srcpkgs/Fritzing/update | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/Fritzing/template create mode 100644 srcpkgs/Fritzing/update diff --git a/srcpkgs/Fritzing/template b/srcpkgs/Fritzing/template new file mode 100644 index 00000000000..01adfd3a727 --- /dev/null +++ b/srcpkgs/Fritzing/template @@ -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 " +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 +} diff --git a/srcpkgs/Fritzing/update b/srcpkgs/Fritzing/update new file mode 100644 index 00000000000..a8ae3feba55 --- /dev/null +++ b/srcpkgs/Fritzing/update @@ -0,0 +1,2 @@ +site="https://api.github.com/repos/fritzing/fritzing-app/tags" +pattern='"name":\s*"\K[^\d]*([\d\.]+)b(?=")'