mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
801 B
Bash
26 lines
801 B
Bash
|
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
||
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=perl-text-query
|
||
|
_cpanname=Text-Query
|
||
|
pkgver=0.07
|
||
|
pkgrel=1
|
||
|
pkgdesc="Query processing framework"
|
||
|
arch=('any')
|
||
|
url="http://search.cpan.org/~EBOHLMAN/${_cpanname}"
|
||
|
license=('GPL' 'PerlArtistic')
|
||
|
depends=('perl')
|
||
|
options=('!emptydirs')
|
||
|
source=(http://www.cpan.org/authors/id/E/EB/EBOHLMAN/${_cpanname}-${pkgver}.tar.gz)
|
||
|
md5sums=('1452eadb3b2e2da948431655733582a5')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/${_cpanname}-${pkgver}
|
||
|
sed -i '/^auto_install/d' Makefile.PL
|
||
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
||
|
make || return 1
|
||
|
make install DESTDIR=$pkgdir || return 1
|
||
|
find $pkgdir -name '.packlist' -delete
|
||
|
find $pkgdir -name '*.pod' -delete
|
||
|
}
|