Skip to content

Instantly share code, notes, and snippets.

@christianlupus
Created November 7, 2018 01:36
Show Gist options
  • Save christianlupus/db8b125fa8e89402f5e7db4a5eebecef to your computer and use it in GitHub Desktop.
Save christianlupus/db8b125fa8e89402f5e7db4a5eebecef to your computer and use it in GitHub Desktop.
Patch to make slic3r-git buildable again
diff --git a/PKGBUILD b/PKGBUILD
index c584f7c..66e7c9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -198,7 +198,8 @@ package () {
# Icons " current Build.PL is not really geared for installation "
install -d $pkgdir/usr/bin/vendor_perl/var
- install -m 644 $srcdir/$_gitname/var/* $pkgdir/usr/bin/vendor_perl/var/
+ cp -R $srcdir/$_gitname/var/* $pkgdir/usr/bin/vendor_perl/var/
+ chmod u=rwX,go=rX -R $pkgdir/usr/bin/vendor_perl/var/*
# Desktop icon
install -d $pkgdir/usr/share/applications
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment