pkgs/gmp/PKGBUILD

27 lines
542 B
Text
Raw Normal View History

2023-12-05 04:47:04 +00:00
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=gmp
pkgver=6.3.0
pkgrel=1
pkgdesc='A free library for arbitrary precision arithmetic'
arch=(x86_64)
url='https://gmplib.org/'
license=(LGPL3 GPL)
source=(https://gmplib.org/download/gmp/gmp-$pkgver.tar.lz)
sha256sums=('be5c908a7a836c3a9bd9d62aa58563c5e9e7fef94c43a7f42dbc35bb6d02733c')
build() {
cd $pkgname-$pkgver
./configure --build=${CHOST} --prefix=/usr \
--enable-cxx \
--enable-fat
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}