summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwift Geek2015-02-12 00:00:51 +0000
committerKyle Keen2015-02-12 00:00:51 +0000
commit098f75d48a801185c3a77988d121d4dba49d3279 (patch)
treeb7d46a67e4b009b1966fa1ee795df9efe81f9a14
parent7a20104fedafc4169d4140510e5cdb1150721ac9 (diff)
downloadaur-098f75d48a801185c3a77988d121d4dba49d3279.tar.gz
Import from pkgbuild.com service
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 292a3c10067a..c09d4b941b48 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = slic3r-git
pkgdesc = Slic3r is an STL-to-GCODE translator for RepRap 3D printers, aiming to be a modern and fast alternative to Skeinforge.
pkgver = a
- pkgrel = 14
+ pkgrel = 15
url = http://slic3r.org/
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 2dbf8081b9d9..352431557808 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=slic3r-git
pkgver=a
-pkgrel=14
+pkgrel=15
pkgdesc="Slic3r is an STL-to-GCODE translator for RepRap 3D printers, aiming to be a modern and fast alternative to Skeinforge."
arch=('any')
url="http://slic3r.org/"
@@ -137,6 +137,13 @@ prepare() {
# Nasty fix for useless warning
sed -i '/^warn \"Running Slic3r under Perl/,+1 s/^/\#/' ./lib/Slic3r.pm
+
+ # Dependency check - intended of package maintainer only, for now
+ #TODO: make sure that this if actually works when !check inside makepkg.conf and check inside pkgbuild... find last check and check if it has ! in front?. Is check default?
+ if [[ " ${BUILDENV[*]} " != *" !check "* ]] || [[ " ${BUILDENV[*]} " == *" !check"*" check "* ]]; then
+ msg2 "Checking prerequisites"
+ /usr/bin/perl Build.PL --gui || true #TODO: make enough seds so true is not needed
+ fi
}
build() {