pkgs/gmp/PKGBUILD

29 lines
543 B
Text
Raw Permalink 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
2023-12-08 02:05:38 +00:00
pkgdesc="A free library for arbitrary precision arithmetic"
arch=("x86_64")
url="https://gmplib.org/"
2023-12-11 13:18:00 +00:00
license=("LGPL3" "GPL")
2023-12-08 02:05:38 +00:00
source=("https://gmplib.org/download/gmp/gmp-$pkgver.tar.lz")
sha256sums=("be5c908a7a836c3a9bd9d62aa58563c5e9e7fef94c43a7f42dbc35bb6d02733c")
2023-12-05 04:47:04 +00:00
build() {
2023-12-08 02:05:38 +00:00
cd $pkgname-$pkgver
2023-12-05 04:47:04 +00:00
2023-12-08 02:05:38 +00:00
./configure \
--build=$CHOST \
--prefix=/usr \
--enable-cxx \
--enable-fat
make
2023-12-05 04:47:04 +00:00
}
package() {
2023-12-08 02:05:38 +00:00
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
2023-12-05 04:47:04 +00:00
}