diff options
author | trizen | 2016-06-04 15:03:06 +0300 |
---|---|---|
committer | trizen | 2016-06-04 15:03:06 +0300 |
commit | 5ac143db9d70c6d0bc872d5e7fba4dc31ed92439 (patch) | |
tree | fc300e9af4b85d87003a9e347ec99e6d719bad20 | |
parent | eacbd2e62574cd7bc7ab8a1db4565e08fad6fdc5 (diff) | |
download | aur-5ac143db9d70c6d0bc872d5e7fba4dc31ed92439.tar.gz |
- Version bump to 0.10.
- perl-module-build is no longer required.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rwxr-xr-x | PKGBUILD | 57 |
2 files changed, 50 insertions, 25 deletions
@@ -1,16 +1,16 @@ -# Generated by mksrcinfo v8 -# Tue Feb 2 13:19:10 UTC 2016 pkgbase = perl-linux-desktopfiles - pkgdesc = Perl module to get and parse the Linux .desktop files - pkgver = 0.09 + pkgdesc = Perl module for parsing the Linux .desktop files. + pkgver = 0.10 pkgrel = 1 - url = https://metacpan.org/module/Linux::DesktopFiles + url = https://metacpan.org/release/Linux-DesktopFiles arch = any - license = GPLv3 - makedepends = perl-module-build + license = PerlArtistic + license = GPL depends = perl>=5.14.0 - source = http://cpan.metacpan.org/authors/id/T/TR/TRIZEN/Linux-DesktopFiles-0.09.tar.gz - sha256sums = 45afb52301ed1553fa741c40e62dc91280bb0e6e58dad83e6a49415a02f0973b + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/T/TR/TRIZEN/Linux-DesktopFiles-0.10.tar.gz + md5sums = 41af5e7f1d2fc124fe3d930d29131f12 + sha512sums = a6054673ae25eb422761ed5c4b617e927b185aefd0548c98f9b8dcedda07987ad8a55a193ab4faa71bf6729b9fbd8e844dd9dd37e152e9fdf3c5cc934d2faaf7 pkgname = perl-linux-desktopfiles @@ -1,25 +1,50 @@ # Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d> +# Generator : CPANPLUS::Dist::Arch 1.32 -pkgname=perl-linux-desktopfiles -_pkgname=Linux-DesktopFiles -pkgver=0.09 -pkgrel=1 -pkgdesc="Perl module to get and parse the Linux .desktop files" +pkgname='perl-linux-desktopfiles' +pkgver='0.10' +pkgrel='1' +pkgdesc="Perl module for parsing the Linux .desktop files." arch=('any') -url="https://metacpan.org/module/Linux::DesktopFiles" +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.14.0') +makedepends=() +url='https://metacpan.org/release/Linux-DesktopFiles' +source=("http://search.cpan.org/CPAN/authors/id/T/TR/TRIZEN/Linux-DesktopFiles-${pkgver}.tar.gz") +md5sums=('41af5e7f1d2fc124fe3d930d29131f12') +sha512sums=('a6054673ae25eb422761ed5c4b617e927b185aefd0548c98f9b8dcedda07987ad8a55a193ab4faa71bf6729b9fbd8e844dd9dd37e152e9fdf3c5cc934d2faaf7') +_distdir="Linux-DesktopFiles-${pkgver}" -source=("http://cpan.metacpan.org/authors/id/T/TR/TRIZEN/${_pkgname}-${pkgver}.tar.gz") -sha256sums=('45afb52301ed1553fa741c40e62dc91280bb0e6e58dad83e6a49415a02f0973b') +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null -license=('GPLv3') + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} -depends=('perl>=5.14.0') -makedepends=('perl-module-build') +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} package() { - cd "${_pkgname}-$pkgver" - perl Build.PL --destdir "$pkgdir" --installdirs vendor - ./Build - ./Build test - ./Build install + cd "$srcdir/$_distdir" + make install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |