mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
37 lines
742 B
Bash
37 lines
742 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: abveritas@chakra-project.org
|
|
|
|
|
|
pkgname=diffutils
|
|
pkgver=3.2
|
|
pkgrel=1
|
|
pkgdesc="Utility programs used for creating patch files"
|
|
arch=('x86_64')
|
|
url="http://www.gnu.org/software/diffutils"
|
|
license=('GPL3')
|
|
groups=('base')
|
|
depends=('glibc' 'sh')
|
|
install=diffutils.install
|
|
source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
md5sums=('26ff64c332429c830c154be46b393382'
|
|
'6f7560ae92525d3f2e64dbc8bf0e9023')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|