diff --git a/patch/PKGBUILD b/patch/PKGBUILD new file mode 100644 index 0000000..2d33f43 --- /dev/null +++ b/patch/PKGBUILD @@ -0,0 +1,31 @@ +# 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 +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 +}