summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50778e7aec701011c7d36b648402c2b431ff9b6f (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
# Generator  : CPANPLUS::Dist::Arch 1.25

pkgname='perl-sepia'
pkgver='0.992'
pkgrel='1'
pkgdesc="Simple Emacs-Perl InterAction"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
makedepends=()
url='http://search.cpan.org/dist/Sepia'
source=('http://search.cpan.org/CPAN/authors/id/S/SE/SEANO/Sepia-0.992.tar.gz')
md5sums=('6998853d0b083981a1545b29a757272d')
sha512sums=('b1c73aa8d0788eaafd5020c06caebe3a78361d81abbb2e29b7c32aef08ee16288cf85a1b6457e2243ac2cabaa9da5baa56508d70cd12d5e2bf6b2109407ff079')
_distdir="Sepia-0.992"

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

    cd "$srcdir/$_distdir"
    /usr/bin/perl Makefile.PL
    make
  )
}

check() {
  cd "$srcdir/$_distdir"
  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
    make test
  )
}

package() {
  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: