update: rename lfs-12.2 to lfs

This commit is contained in:
2025-03-14 01:33:44 -04:00
parent 02fd8b18b8
commit a4b9b9fdc5
56 changed files with 0 additions and 0 deletions

32
lfs/gmp-6.3.0.PKGBUILD Normal file
View File

@@ -0,0 +1,32 @@
pkgname=gmp
pkgver=6.3.0
pkgdesc='A free library for arbitrary precision arithmetic'
homepage='https://gmplib.org/'
license=(GPL-2.0-or-later
LGPL-3.0-or-later)
sources=(gmp-$pkgver.tar.xz)
urls=("https://ftp.gnu.org/gnu/gmp/${sources[0]}")
md5sums=("956dc04e864001a9c22429f761f2c283")
src_prepare() {
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr \
--enable-cxx \
--disable-static \
--docdir=/usr/share/doc/gmp-6.3.0
make
make html
}
src_check() {
make check
}
src_install() {
make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install-html
}