52 lines
1.3 KiB
Bash
52 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=gmp
|
|
pkgver=6.3.0
|
|
pkgrel=01
|
|
pkgdesc='A free library for arbitrary precision arithmetic'
|
|
url='https://gmplib.org/'
|
|
#options=(debug) ## uncomment this line to have the debug pkg produced
|
|
depends=(gcc-libs sh)
|
|
source=(https://gmplib.org/download/gmp/gmp-$pkgver.tar.lz{,.sig})
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --build=${CHOST} \
|
|
--prefix=/usr \
|
|
--enable-cxx \
|
|
--enable-fat
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
#---- arch license gpg-key sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(LGPL3 GPL)
|
|
|
|
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller
|
|
|
|
sha256sums=(''
|
|
'SKIP')
|
|
|
|
sha256sums=(be5c908a7a836c3a9bd9d62aa58563c5e9e7fef94c43a7f42dbc35bb6d02733c # gmp-6.3.0.tar.lz
|
|
ecc20ea069574880a8d482653e4dc2262a92021281c3fcb2c8bb55c44054fe7c) # gmp-6.3.0.tar.lz.sig
|
|
|
|
## f182b5e8b77c7386fa3141a6073db438ab4a6003a7398ba29176fb0a8ff57604 gmp-6.3.0-01-x86_64.pkg.tar.lz
|
|
|