initial import
This commit is contained in:
27
perl-mail-spf-query/PKGBUILD
Normal file
27
perl-mail-spf-query/PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-mail-spf-query
|
||||
_realname=Mail-SPF-Query
|
||||
pkgver=1.999.1
|
||||
pkgrel=1
|
||||
pkgdesc="Perl module that provides SPF support"
|
||||
arch=('any')
|
||||
license=('GPL-2')
|
||||
url="https://search.cpan.org/dist/Mail-SPF-Query/"
|
||||
depends=('perl-net-cidr-lite' 'perl-net-dns' 'perl-sys-hostname-long' 'perl-uri' 'perl')
|
||||
options=(!emptydirs)
|
||||
source=("https://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf-query/${_realname}-${pkgver}.tar.gz")
|
||||
sha512sums=('bb7c30832ae46416dbc6e2387dfeb13ce707022566536802c3548b318bc42f4d68e887f38e5e56bb845f0bd68a003f43157f4ce0f7b94521508bcb3654d2162d')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/${_realname}-${pkgver}
|
||||
# install module in vendor directories
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/${_realname}-${pkgver}
|
||||
make install DESTDIR="$pkgdir"
|
||||
install -Dm644 debian/copyright -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user