bc 6.7.5-1
This commit is contained in:
commit
1888032201
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# 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=bc
|
||||||
|
pkgver=6.7.5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Implementation of dc and POSIX bc with GNU extensions"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://git.gavinhoward.com/gavin/bc"
|
||||||
|
license=('BSD-2-Clause')
|
||||||
|
depends=('readline' 'ncurses')
|
||||||
|
source=(https://github.com/gavinhoward/bc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
||||||
|
sha256sums=(c3e02c948d51f3ca9cdb23e011050d2d3a48226c581e0749ed7cbac413ce5461)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
./configure --prefix=/usr --libdir=/usr/lib64 -G -O3 -r
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
make DESTDIR=${pkgdir} install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user