Core/patch/PKGBUILD
2024-09-07 23:18:11 +08:00

32 lines
818 B
Bash

# 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=patch
pkgver=2.7.6
pkgrel=1
pkgdesc="A utility to apply patch files to original sources"
arch=('x86_64')
url="https://savannah.gnu.org/projects/patch/"
license=('GPL')
groups=('base-devel')
depends=('glibc' 'attr')
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE}
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}