jobcore/mpdecimal/PKGBUILD
2024-06-21 05:07:57 +03:00

39 lines
1.1 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=mpdecimal
pkgver=4.0.0
pkgrel=02
pkgdesc="Package for correctly-rounded arbitrary precision decimal floating point arithmetic"
url="https://www.bytereef.org/mpdecimal/index.html"
depends=('glibc' 'gcc-libs')
source=("https://www.bytereef.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz")
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
LDXXFLAGS="$LDFLAGS" make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYRIGHT.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('BSD')
sha256sums=(942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c) # mpdecimal-4.0.0.tar.gz
## 767fbf0803e7c14137a40ce53247ddcf1972556e464511891816e37e89cb38c9 mpdecimal-4.0.0-02-x86_64.pkg.tar.lz