27 lines
514 B
Plaintext
27 lines
514 B
Plaintext
pkgname=patch
|
|
pkgver=2.8
|
|
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=("149327a021d41c8f88d034eab41c039f")
|
|
|
|
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
|
|
}
|