mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 09:07:14 +08:00
39 lines
766 B
Bash
39 lines
766 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=grep
|
|
pkgver=2.14
|
|
pkgrel=1
|
|
pkgdesc="A string search utility"
|
|
arch=('x86_64')
|
|
license=('GPL3')
|
|
url="http://www.gnu.org/software/grep/grep.html"
|
|
groups=('base')
|
|
depends=('glibc' 'pcre' 'sh')
|
|
makedepends=('texinfo>=4.8a')
|
|
install="${pkgname}.install"
|
|
source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
|
md5sums=('d4a3f03849d1e17ce56ab76aa5a24cab')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--without-included-regex
|
|
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|