summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-10 07:21:23 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-10 07:21:23 -0200
commitd213a882c25db5a49a5bd336c12841ceb6517150 (patch)
tree547f45072ba43bbeeba49f3edcac31fb5b45b3a3
parent1452fc76b03a88cdb5f9df41ec5235a3f488f6af (diff)
downloadabslibre-d213a882c25db5a49a5bd336c12841ceb6517150.tar.gz
abslibre-d213a882c25db5a49a5bd336c12841ceb6517150.tar.bz2
abslibre-d213a882c25db5a49a5bd336c12841ceb6517150.zip
povray-libre: add mksource
-rw-r--r--libre/povray-libre/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/libre/povray-libre/PKGBUILD b/libre/povray-libre/PKGBUILD
index 70cb073a9..dbbca2238 100644
--- a/libre/povray-libre/PKGBUILD
+++ b/libre/povray-libre/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: neri
# Maintainer (Parabola): Márcio Silva <coadde@parabola.nu>
-# Don't build povray before 3.7 version (it's nonfree software)
+# Don't build povray before 3.7 version (that ones are nonfree software)
_pkgname=povray
pkgname=$_pkgname-libre
@@ -24,11 +24,20 @@ conflicts=("$_pkgname")
replaces=("$_pkgname")
backup=("etc/povray/$pkgver/povray.conf"
"etc/povray/$pkgver/povray.ini")
-source=("https://github.com/POV-Ray/$_pkgname/archive/$pkgver-stable.zip"
+mksource=("https://github.com/POV-Ray/$_pkgname/archive/$pkgver-stable.zip")
+source=("https://repo.parabolagnulinux.org/sources/$pkgname-$pkgver-stable.tar.xz"
'povray3.7.0_rc3-user-conf.patch')
-sha256sums=('1261d963327a4b04c09d56bbd7436d0062e6bf8363674e3fb4e240beefb5b5cb'
+mksha256sums=('1261d963327a4b04c09d56bbd7436d0062e6bf8363674e3fb4e240beefb5b5cb')
+sha256sums=('ba2a867b8593689067143b23ebdccb8f8f46487244802d24d873517287b924f1'
'95b04ec4973e6e8a80fc83df2e3caff0b4d6699c4154144f3017d42cab7236e0')
+mksource() {
+ cd "$_pkgname-$pkgver-stable"
+
+ # remove nonfree documentation
+ rm -rv doc
+}
+
prepare() {
cd "$_pkgname-$pkgver-stable"