[arch-commits] Commit in prusa-slicer/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue May 28 22:48:26 UTC 2019


    Date: Tuesday, May 28, 2019 @ 22:48:25
  Author: archange
Revision: 473229

Added patch from upstream

Modified:
  prusa-slicer/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-28 22:48:14 UTC (rev 473228)
+++ PKGBUILD	2019-05-28 22:48:25 UTC (rev 473229)
@@ -2,7 +2,7 @@
 
 pkgname=prusa-slicer
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="G-code generator for 3D printers (Prusa fork of Slic3r)"
 arch=(x86_64)
 url="https://github.com/prusa3d/PrusaSlicer"
@@ -11,12 +11,16 @@
 makedepends=(cmake boost eigen3 expat qhull gtest libpng)
 replaces=(slic3r-prusa3d)
 source=("${url}/archive/version_${pkgver}/${pkgname}-${pkgver}.tar.gz"
+        prusa-slicer-mode-switching.patch::"https://github.com/prusa3d/PrusaSlicer/commit/5afd0b4ee28a18733dd8a0e4b4cfd612e60b452c.patch"
         "${pkgname}.desktop")
 sha256sums=('5d3c7fd745f2875be55f316cd779805ce1b6ce38634f0f4b0ccd01884da731b3'
+            'e2f7b9865b24746a24d87d69eba72d8bf2de899466cf5731fa3cb446b8979e75'
             'fa469696bd85fef60a0f626d47d2da192902c627a9c80cc34325d47ab5d0172e')
 
 prepare() {
   mkdir -p build
+  cd PrusaSlicer-version_${pkgver}
+  patch -p1 -i ../prusa-slicer-mode-switching.patch
 }
 
 build() {



More information about the arch-commits mailing list