update to 12.3: diffutils
This commit is contained in:
26
lfs/diffutils-3.11.PKGBUILD
Normal file
26
lfs/diffutils-3.11.PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
pkgname=diffutils
|
||||
pkgver=3.11
|
||||
pkgdesc='Utility programs used for creating patch files'
|
||||
arch=('x86_64')
|
||||
homepage='https://www.gnu.org/software/diffutils'
|
||||
license=('GPL-3.0-or-later')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||
md5sums=("75ab2bb7b5ac0e3e10cece85bd1780c2")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
Reference in New Issue
Block a user