diff options
-rw-r--r-- | libre/povray/PKGBUILD (renamed from libre/povray-libre/PKGBUILD) | 23 | ||||
-rw-r--r-- | libre/povray/povray3.7.0_rc3-user-conf.patch (renamed from libre/povray-libre/povray3.7.0_rc3-user-conf.patch) | 0 |
2 files changed, 11 insertions, 12 deletions
diff --git a/libre/povray-libre/PKGBUILD b/libre/povray/PKGBUILD index e68afa864..281405cdb 100644 --- a/libre/povray-libre/PKGBUILD +++ b/libre/povray/PKGBUILD @@ -8,10 +8,10 @@ # Maintainer: Márcio Silva <coadde@parabola.nu> # Don't build povray before 3.7 version (that ones are nonfree software) -_pkgname=povray -pkgname=$_pkgname-libre +_pkgname=povray-libre +pkgname=povray pkgver=3.7 -pkgrel=4 +pkgrel=4.parabola1 epoch=1 pkgdesc='Script based raytracer for creating 3D graphics, without nonfree documentation' arch=('x86_64' 'i686' 'mips64el') @@ -19,27 +19,26 @@ license=('AGPL3') url='http://povray.org/' depends=('libtiff' 'libpng' 'boost-libs') makedepends=('boost') -provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") replaces=("$_pkgname") backup=("etc/povray/$pkgver/povray.conf" "etc/povray/$pkgver/povray.ini") -mksource=("https://github.com/POV-Ray/$_pkgname/archive/$pkgver-stable.zip") -source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver-stable.tar.xz" +mksource=("https://github.com/POV-Ray/$pkgname/archive/$pkgver-stable.zip") +source=("https://repo.parabolagnulinux.org/other/$_pkgname/$_pkgname-$pkgver-stable.tar.xz" 'povray3.7.0_rc3-user-conf.patch') mksha256sums=('1261d963327a4b04c09d56bbd7436d0062e6bf8363674e3fb4e240beefb5b5cb') sha256sums=('ba2a867b8593689067143b23ebdccb8f8f46487244802d24d873517287b924f1' '95b04ec4973e6e8a80fc83df2e3caff0b4d6699c4154144f3017d42cab7236e0') mksource() { - cd "$_pkgname-$pkgver-stable" + cd "$pkgname-$pkgver-stable" # remove nonfree documentation rm -rv doc } prepare() { - cd "$_pkgname-$pkgver-stable" + cd "$pkgname-$pkgver-stable" cd unix sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh @@ -51,7 +50,7 @@ prepare() { } build() { - cd "$_pkgname-$pkgver-stable" + cd "$pkgname-$pkgver-stable" ./configure LIBS="-lboost_system -lboost_thread" COMPILED_BY='Parabola GNU/Linux-libre' \ --prefix=/usr --sysconfdir=/etc @@ -60,10 +59,10 @@ build() { } package() { - cd "$_pkgname-$pkgver-stable" + cd "$pkgname-$pkgver-stable" - install -d "$pkgdir/usr/share/$_pkgname-$pkgver" - cp -r icons include ini scenes scripts "$pkgdir/usr/share/$_pkgname-$pkgver" + install -d "$pkgdir/usr/share/$pkgname-$pkgver" + cp -r icons include ini scenes scripts "$pkgdir/usr/share/$pkgname-$pkgver" install -Dm755 unix/povray "$pkgdir/usr/bin/povray" install -Dm644 povray.conf "$pkgdir/etc/povray/$pkgver/povray.conf" install -Dm644 povray.ini "$pkgdir/etc/povray/$pkgver/povray.ini" diff --git a/libre/povray-libre/povray3.7.0_rc3-user-conf.patch b/libre/povray/povray3.7.0_rc3-user-conf.patch index f20d9b506..f20d9b506 100644 --- a/libre/povray-libre/povray3.7.0_rc3-user-conf.patch +++ b/libre/povray/povray3.7.0_rc3-user-conf.patch |