Skip to content
Snippets Groups Projects
PKGBUILD 795 B
Newer Older
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-string-crc32
Sergej Pupykin's avatar
Sergej Pupykin committed
pkgver=2.100
pkgrel=4
pkgdesc="Perl/CPAN Module String::CRC32 : ZMODEMlike CRC32 generation"
arch=("x86_64")
Sergej Pupykin's avatar
Sergej Pupykin committed
url="https://search.cpan.org/dist/String-CRC32"
Sergej Pupykin's avatar
Sergej Pupykin committed
license=("GPL" "PerlArtistic")
options=('!emptydirs')
Sergej Pupykin's avatar
Sergej Pupykin committed
source=("https://cpan.metacpan.org/authors/id/L/LE/LEEJO/String-CRC32-$pkgver.tar.gz")
Sergej Pupykin's avatar
Sergej Pupykin committed
sha256sums=('9706093b2d068b6715d35b4c58f51558e37960083202129fbb00a57e19a74713')
Sergej Pupykin's avatar
Sergej Pupykin committed

  cd String-CRC32-${pkgver}

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

package() {
Sergej Pupykin's avatar
Sergej Pupykin committed
  cd String-CRC32-${pkgver}

Sergej Pupykin's avatar
Sergej Pupykin committed
  make pure_install doc_install DESTDIR="$pkgdir"
Sergej Pupykin's avatar
Sergej Pupykin committed

Sergej Pupykin's avatar
Sergej Pupykin committed
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete