mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
32 lines
881 B
Bash
32 lines
881 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=ack
|
|
pkgver=1.96
|
|
pkgrel=1
|
|
pkgdesc="A Perl-based grep replacement, aimed at programmers with large trees of heterogeneous source code"
|
|
arch=('any')
|
|
url="http://betterthangrep.com/"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl-file-next')
|
|
options=('!emptydirs')
|
|
source=(http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('21701fb5f4670181dbf6ebe47984634b')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|