# Maintainer: Michael Gisbers pkgname=flashprint pkgver=5.7.1 pkgrel=1 pkgdesc="Slicer for the FlashForge 3D printers." arch=('x86_64') url="http://www.ff3dp.com/" depends=('qt5-base') license=('custom') #source=("${pkgname}-${pkgver}_amd64.deb::http://www.ishare3d.com/3dapp/public/FlashPrint-ii/FlashPrint/flashprint_${pkgver}_amd64.deb" "${pkgname}") source=("${pkgname}-${pkgver}_amd64.deb::http://www.ishare3d.com/3dapp/public/FlashPrint-5/FlashPrint/${pkgname}5_${pkgver}_amd64.deb" "${pkgname}") package() { cd ${pkgdir} tar -Jxvf ${srcdir}/data.tar.xz install -d ${pkgdir}/usr/bin # ln -s ../share/FlashPrint/FlashPrint ${pkgdir}/usr/bin/flashprint # workaround for render issues install ${srcdir}/flashprint ${pkgdir}/usr/bin/flashprint # patch desktop file, workaround for render issues sed -i "/^Exec=/ c Exec=/usr/bin/flashprint" ${pkgdir}/usr/share/applications/FlashPrint5.desktop } md5sums=('3e5fd9ecbc0c32e006135fb06d663d35' 'e2a783e7d78b40b55432c00f38dacae8') sha256sums=('931bea1205e529095fce50aa29be68de1be8a7cdaf0ec2664032bd5ce0aaeb58' '65c17b8b726d779956e99a3df4d1e90435a194686370c589f71b09aeebddda5c') sha512sums=('e7e010d99977eded60d69fe7b8d2554cee4856fe54a11b1597d5b614f8c20a69121cbc345400772147b2982d3f083a6c577016a5672b019b555766333acc7f93' 'fc3364dfdce9d3558ceea74137343c4a7a2fe6231dfe02f3298cca03d055b7237d4397fe58171452cca962f842f93dc6116b0761e4d5ef3c54105b4203c66f9f')