update to 12.3: patch
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
pkgname=patch
|
||||||
|
pkgver=2.7.6
|
||||||
|
pkgrel=10
|
||||||
|
pkgdesc='A utility to apply patch files to original sources'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://www.gnu.org/software/patch/'
|
||||||
|
license=('GPL')
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||||
|
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||||
|
md5sums=("78ad9937e4caadcba1526ef1853730d5")
|
||||||
|
|
||||||
|
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