summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwift Geek2013-03-09 00:02:17 +0000
committerThomas Dziedzic2013-03-09 00:02:17 +0000
commitc9f12b1b65e438200615128814073dc3afa07448 (patch)
tree40c976e52be56ce90ef44df02f89eea5fd97002f
parentd7b62c71971a857c123e01cbd0279874ef7db28e (diff)
downloadaur-c9f12b1b65e438200615128814073dc3afa07448.tar.gz
Import from pkgbuild.com service
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 863c7bdea8a1..a12f82419775 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 = 0
- pkgrel = 1
+ pkgrel = 2
url = http://slic3r.org/
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 394da8772959..3cc4357a44f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/
-
}