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

31 lines
795 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=diffutils
pkgver=3.10
pkgrel=1
pkgdesc="Utility programs used for creating patch files"
arch=('x86_64')
url="https://www.gnu.org/software/diffutils/"
license=('GPL3')
depends=('glibc' 'bash')
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE}
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}