sed 4.9-1

This commit is contained in:
xhaa123 2024-09-07 23:18:11 +08:00
parent cd921e17d9
commit 10ee6f2c5c

36
sed/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# 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=sed
pkgver=4.9
pkgrel=1
pkgdesc="GNU stream editor"
arch=('x86_64')
url="https://www.gnu.org/software/sed/"
license=('GPL3')
groups=('base' 'base-devel')
depends=('glibc' 'acl')
makedepends=('gettext')
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE}
make
make html
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -d -m755 ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
install -m644 doc/sed.html ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
}