51 lines
1.3 KiB
Bash
51 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libmpc
|
|
pkgver=1.3.1
|
|
pkgrel=02
|
|
pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
|
|
url="http://www.multiprecision.org/"
|
|
depends=(mpfr glibc gmp)
|
|
source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig})
|
|
# mpc-fix-includes.patch)
|
|
|
|
#prepare() {
|
|
# cd mpc-$pkgver
|
|
# patch -p1 < ../mpc-fix-includes.patch # Fix build of gcc
|
|
#}
|
|
|
|
build() {
|
|
cd mpc-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd mpc-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd mpc-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
mv "$pkgdir"/usr/share/info/{mpc,libmpc}.info
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(LGPL-3.0-only)
|
|
|
|
validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3') # Andreas Enge
|
|
|
|
sha256sums=(ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8 # mpc-1.3.1.tar.gz
|
|
1e34f97870c82ba4ba3e96e3f134906e3d1a43b88ed52061bf1b44f3b6ed1991) # mpc-1.3.1.tar.gz.sig
|
|
|
|
## a93ff72f7584817f9e223c79236eaec9c45208d8d316a11d7b2a8eda40fb0f1d libmpc-1.3.1-02-x86_64.pkg.tar.lz
|
|
|