41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
|
#!/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"
|
||
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||
|
|
||
|
pkgname=libmpc
|
||
|
pkgver=1.2.1
|
||
|
pkgrel=02
|
||
|
pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
|
||
|
arch=('x86_64')
|
||
|
url="http://www.multiprecision.org/"
|
||
|
depends=('mpfr')
|
||
|
source=(https://ftp.gnu.org/gnu/mpc/mpc-${pkgver/_/-}.tar.gz{,.sig})
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/mpc-${pkgver}"
|
||
|
./configure --prefix=/usr
|
||
|
make
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
cd "${srcdir}/mpc-${pkgver}"
|
||
|
make check
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/mpc-${pkgver}"
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
mv "${pkgdir}"/usr/share/info/{mpc,libmpc}.info
|
||
|
}
|
||
|
|
||
|
#---- license gpg-key sha256sums ----
|
||
|
|
||
|
license=('LGPL')
|
||
|
|
||
|
validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3') # Andreas Enge
|
||
|
|
||
|
sha256sums=(17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 # mpc-1.2.1.tar.gz
|
||
|
cc0ef52279aa6bcd5827f167d904eb39e74ee9ed31a174f9d00c56154454928f) # mpc-1.2.1.tar.gz.sig
|