blob: 2e6b6aef0a219a6cf65dc3086ce4617581efd279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: robertfoster
pkgname=perl-file-grep
_realname=File-Grep
pkgver=0.02
pkgrel=1
pkgdesc="Find matches to a pattern in a series of files and related functions"
arch=(any)
url="https://metacpan.org/release/$_realname"
license=(GPL PerlArtistic)
depends=(perl)
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/M/MN/MNEYLON/$_realname-$pkgver.tar.gz")
sha256sums=('462e15274eb6278521407ea302d9eea7252cd44cab2382871f7de833d5f85632')
build() {
cd $_realname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $_realname-$pkgver
make DESTDIR="$pkgdir" install
}
|