gawk 5.3.0-1
This commit is contained in:
parent
fa1df4009b
commit
a9b2fd84a1
42
gawk/PKGBUILD
Normal file
42
gawk/PKGBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# 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=gawk
|
||||
pkgver=5.3.0
|
||||
pkgrel=1
|
||||
pkgdesc="GNU version of awk"
|
||||
arch=('x86_64')
|
||||
url="https://www.gnu.org/software/gawk/"
|
||||
license=('GPL-3.0-or-later')
|
||||
groups=('base' 'base-devel')
|
||||
depends=('bash' 'glibc' 'mpfr')
|
||||
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||
sha256sums=(ca9c16d3d11d0ff8c69d79dc0b47267e1329a69b39b799895604ed447d3ca90b)
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
sed -i 's/extras//' Makefile.in
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
${CONFIGURE}
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
ln -sv gawk.1 ${pkgdir}/usr/share/man/man1/awk.1
|
||||
|
||||
install -vdm755 ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
|
||||
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
|
||||
}
|
Loading…
Reference in New Issue
Block a user