summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXyne2016-04-02 22:30:27 +0000
committerXyne2016-04-02 22:30:27 +0000
commit0426a905d469981d8742f1ee6c644f64603fbe4a (patch)
tree1376ee7a8b1017c85232bc2ad99033aa90b1a78d
parent3c479ade961c1acc1ca5140ab50834da2c9bd316 (diff)
downloadaur-0426a905d469981d8742f1ee6c644f64603fbe4a.tar.gz
Updated source URL.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 592472840e8b..79f98c81f85e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Sat Apr 2 22:30:10 UTC 2016
pkgbase = stl2pov
pkgdesc = generate a POVray mesh or a PostScript or PDF view from an STL file
pkgver = 3.1
- pkgrel = 3
+ pkgrel = 4
url = http://rsmith.home.xs4all.nl/software/py-stl-stl2pov.html
arch = any
license = BSD
@@ -12,7 +14,7 @@ pkgbase = stl2pov
conflicts = stl2ps
conflicts = stl2pdf
options = !emptydirs
- source = http://rsmith.home.xs4all.nl/static/files/py-stl-3.1.zip
+ source = http://rsmith.home.xs4all.nl/files/py-stl-3.1.zip
sha256sums = d5a2eccbd627d05b28d3b6d619202d3a55b4d94dbf21a63b68109688ebc8e929
pkgname = stl2pov
diff --git a/PKGBUILD b/PKGBUILD
index 642863a93eb6..236a378c7eb2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=stl2pov
pkgver=3.1
-pkgrel=3
+pkgrel=4
pkgdesc="generate a POVray mesh or a PostScript or PDF view from an STL file"
arch=('any')
url="http://rsmith.home.xs4all.nl/software/py-stl-stl2pov.html"
@@ -10,10 +10,11 @@ optdepends=('python2-cairo: for stl2pdf support')
provides=('stl2ps' 'stl2pdf')
conflicts=('stl2ps' 'stl2pdf')
options=(!emptydirs)
-source=("http://rsmith.home.xs4all.nl/static/files/py-stl-${pkgver}.zip")
+source=("http://rsmith.home.xs4all.nl/files/py-stl-${pkgver}.zip")
sha256sums=('d5a2eccbd627d05b28d3b6d619202d3a55b4d94dbf21a63b68109688ebc8e929')
-build() {
+prepare()
+{
cd "$srcdir/py-stl-$pkgver"
# the limit truncates valid vectors to 0 and raises errors... increase it
sed -i 's/LIMIT = 1e-7/LIMIT = 1e-40/' -- stl.py