Skip to content
Snippets Groups Projects
Commit 57568913 authored by Roberto Oliveira's avatar Roberto Oliveira Committed by Natanael Copa
Browse files

main/perl-file-tail: modernize and add project description

parent c9a6a2a1
No related branches found
No related tags found
No related merge requests found
......@@ -3,38 +3,41 @@
pkgname=perl-file-tail
_pkgreal=File-Tail
pkgver=1.3
pkgrel=0
pkgdesc="unknown"
pkgrel=1
pkgdesc="Perl extension for reading from continously updated files"
url="http://search.cpan.org/dist/File-Tail/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MG/MGRABNAR/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="252635f89ec18cb871c0b45ed64b3f63 File-Tail-1.3.tar.gz"
sha256sums="26d09f81836e43eae40028d5283fe5620fe6fe6278bf3eb8eb600c48ec34afc7 File-Tail-1.3.tar.gz"
sha512sums="942f87880d0d8b79c521248cdbc449daafbd117a2a3700e2dbcc7fe7a6046e5783e8616b6c32de513f85a56663b63c4dde217e9e124216ba6a605c645db2bde9 File-Tail-1.3.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment