diff options
author | Swift Geek | 2015-02-12 00:00:51 +0000 |
---|---|---|
committer | Kyle Keen | 2015-02-12 00:00:51 +0000 |
commit | 098f75d48a801185c3a77988d121d4dba49d3279 (patch) | |
tree | b7d46a67e4b009b1966fa1ee795df9efe81f9a14 | |
parent | 7a20104fedafc4169d4140510e5cdb1150721ac9 (diff) | |
download | aur-098f75d48a801185c3a77988d121d4dba49d3279.tar.gz |
Import from pkgbuild.com service
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -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 @@ -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() { |