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

29
lfs/sed-4.9.PKGBUILD Normal file
View File

@@ -0,0 +1,29 @@
pkgname="sed"
pkgver="4.9"
pkgdesc='GNU stream editor'
homepage="https://www.gnu.org/software/sed/"
license=('GPL3')
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
md5sums=("6aac9b2dbafcd5b7a67a8a9bcb8036c3")
src_prepare() {
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr
make
make html
}
src_check() {
chown -R leaf .
su leaf -c "PATH=$PATH make check"
}
src_install() {
make DESTDIR="$pkgdir" install
install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
install -m644 doc/sed.html "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}"
}