summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a2fdf5a275f1370b0b355e52474572886553463 (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
# Maintainer: Frederik Schwan <frederik dot schwan at linux dot com>
# Contributor: Eduardo Leggiero <https://www.leggiero.uk/>

pkgname=perl-ntlm
pkgver=1.09
pkgrel=3
pkgdesc='Perl/CPAN module NTLM'
arch=('any')
url='http://search.cpan.org/~nbebout/NTLM/'
license=('GPL')
source=(http://search.cpan.org/CPAN/authors/id/N/NB/NBEBOUT/NTLM-${pkgver}.tar.gz)
sha512sums=('faae9a4a39f483a9612e5a7daec15bb8ddd940ccc73e52372dd004a9067336fccc4c490deafb3eaa0cf56c0dfe3a085cb6bba38631a5122c2f2fa6e960845039')

build() {
  cd "${srcdir}/NTLM-${pkgver}"
  perl Makefile.PL
  make
}

check() {
  cd "${srcdir}/NTLM-${pkgver}"
  make test
}

package(){
  cd "${srcdir}/NTLM-${pkgver}"
  make DESTDIR="${pkgdir}" install
}