diff options
author | Swift Geek | 2013-03-09 00:02:17 +0000 |
---|---|---|
committer | Thomas Dziedzic | 2013-03-09 00:02:17 +0000 |
commit | c9f12b1b65e438200615128814073dc3afa07448 (patch) | |
tree | 40c976e52be56ce90ef44df02f89eea5fd97002f | |
parent | d7b62c71971a857c123e01cbd0279874ef7db28e (diff) | |
download | aur-c9f12b1b65e438200615128814073dc3afa07448.tar.gz |
Import from pkgbuild.com service
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 10 insertions, 7 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 = 0 - pkgrel = 1 + pkgrel = 2 url = http://slic3r.org/ arch = any license = GPL @@ -1,6 +1,6 @@ pkgname=slic3r-git pkgver=0 -pkgrel=1 +pkgrel=2 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/" @@ -51,10 +51,14 @@ build() { # Cuz cpan will install fixes to $HOME ... which is not the point of this package # Build stage - { /usr/bin/perl Build.PL && - ./Build && - ./Build test && - ./Build install; } || return 1 + /usr/bin/perl Build.PL + ./Build + ./Build test +} + +package () { + cd "$srcdir/$_gitname-build" + ./Build install # Icons " current Build.PL is not really geared for installation " install -d $pkgdir/usr/bin/vendor_perl/var @@ -62,6 +66,5 @@ build() { install -d $pkgdir/usr/share/applications install -m 644 $srcdir/slic3r.desktop $pkgdir/usr/share/applications/ - } |