diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 10 | ||||
-rwxr-xr-x | PKGBUILD | 23 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..08ca24ee0fe0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = complex_bessel + pkgdesc = A C++ library to evaluate the Bessel functions of real order and complex argument. + pkgver = 0.6 + pkgrel = 1 + url = https://github.com/valandil/complex_bessel + arch = any + license = LGPL + makedepends = cmake + makedepends = gcc + makedepends = gcc-fortran + source = https://github.com/valandil/complex_bessel/archive/release-0.6.tar.gz + sha256sums = 38abe0b08a26d0b6a447db0e2e352d24b180dcec236f5d0629a1e5b91e8b704f + +pkgname = complex_bessel + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..67f8c18f0637 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +*.tar +*.tar.* +*.zip +*.tgz +*.log +*.log.* +*.sig +*.jar +pkg/ +src/
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..60991b39a675 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Joey Dumont <joey.dumont@gmail.com> +# Maintainer: McNoggins <gagnon88@gmail.com> +pkgname=complex_bessel +pkgver=0.6 +pkgrel=1 +pkgdesc="A C++ library to evaluate the Bessel functions of real order and complex argument." +arch=('any') +url="https://github.com/valandil/complex_bessel" +license=('LGPL') +makedepends=('cmake' 'gcc' 'gcc-fortran') +source=(https://github.com/valandil/complex_bessel/archive/release-${pkgver}.tar.gz) +sha256sums=('38abe0b08a26d0b6a447db0e2e352d24b180dcec236f5d0629a1e5b91e8b704f') + +build() { + cd "$srcdir/$pkgname-release-$pkgver" + cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/usr/ . + make +} + +package() { + cd "$srcdir/$pkgname-release-$pkgver" + make install +} |