[arch-commits] Commit in unuran/trunk (PKGBUILD)
Konstantin Gizdov
kgizdov at archlinux.org
Mon May 25 15:09:39 UTC 2020
Date: Monday, May 25, 2020 @ 15:09:38
Author: kgizdov
Revision: 634491
fix 'source-name-not-unique'
Modified:
unuran/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-25 15:09:25 UTC (rev 634490)
+++ PKGBUILD 2020-05-25 15:09:38 UTC (rev 634491)
@@ -3,7 +3,7 @@
pkgname=unuran
pkgver=1.8.1
-pkgrel=3
+pkgrel=4
pkgdesc='A C library for generating non-uniform pseudorandom variates.'
arch=('x86_64')
url='http://statmath.wu.ac.at/unuran/'
@@ -10,16 +10,16 @@
license=('GPL2')
depends=('gsl')
options=('!emptydirs')
-source=("http://statmath.wu.ac.at/$pkgname/$pkgname-$pkgver.tar.gz")
+source=("${pkgname}-${pkgver}::http://statmath.wu.ac.at/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('c270ae96857857dbac6450043df865e0517f52856ddbe5202fd35583b13c5193')
build() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
./configure --prefix=/usr --with-urng-gsl --enable-shared
make "$MAKEFLAGS"
}
package() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list