archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / unuran / trunk / PKGBUILD
blob418aa5b8f4ec393d99e92763960117c869a15e6a
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Konstantin Gizdov < arch at kge dot pw >
4 pkgname=unuran
5 pkgver=1.10.0
6 pkgrel=1
7 pkgdesc='A C library for generating non-uniform pseudorandom variates.'
8 arch=('x86_64')
9 url='http://statmath.wu.ac.at/unuran/'
10 license=('GPL2')
11 depends=('gsl')
12 options=('!emptydirs')
13 source=("${pkgname}-${pkgver}.tar.gz::http://statmath.wu.ac.at/$pkgname/$pkgname-$pkgver.tar.gz")
14 b2sums=('b030e7d992b4b81d200ffa407a72cb1a5b33bb532856d186a0ec3bfaeacdd0454704c891d06bd24a877c8ab55f2c4c42faf97bf09ebce0a1450a2dffa907703e')
16 build() {
17   cd "$pkgname-$pkgver"
18   ./configure --prefix=/usr --with-urng-gsl --enable-shared
19   make "$MAKEFLAGS"
22 package() {
23   cd "$pkgname-$pkgver"
24   make DESTDIR="$pkgdir" install