gmp 6.3.0-1
This commit is contained in:
parent
96586845ab
commit
8a52394752
35
gmp/PKGBUILD
Normal file
35
gmp/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=gmp
|
||||
pkgver=6.3.0
|
||||
pkgrel=1
|
||||
pkgdesc="A free library for arbitrary precision arithmetic"
|
||||
arch=('x86_64')
|
||||
url="https://www.gnu.org/software/gmp/"
|
||||
license=('GPL-2.0-or-later' 'LGPL-3.0-or-later')
|
||||
depends=('gcc-libs' 'bash')
|
||||
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||
sha256sums=(a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
${CONFIGURE} \
|
||||
--enable-cxx \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||
|
||||
make
|
||||
make html
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
make DESTDIR=${pkgdir} install-html
|
||||
}
|
Loading…
Reference in New Issue
Block a user