mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 03:17:14 +08:00
34 lines
717 B
Bash
34 lines
717 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: abveritas@chakra-project.org
|
|
|
|
pkgname=patch
|
|
pkgver=2.7.1
|
|
pkgrel=1
|
|
pkgdesc="A utility to apply patch files to original sources"
|
|
arch=('x86_64')
|
|
url="http://www.gnu.org/software/patch/patch.html"
|
|
license=('GPL')
|
|
groups=('base-devel')
|
|
depends=('glibc')
|
|
optdepends=('ed: Interpret the patch as an ed script')
|
|
source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz")
|
|
md5sums=('e9ae5393426d3ad783a300a338c09b72')
|
|
|
|
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
|
|
}
|