Christoph Reiter f0230c32ea More cpan PURLs
2025-08-09 22:47:04 +02:00

34 lines
956 B
Bash

# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
pkgname=perl-alien-build-plugin-download-gitlab
pkgver=0.01
pkgrel=1
pkgdesc="Alien::Build plugin to download from GitLab"
arch=('any')
license=('PerlArtistic')
url="https://metacpan.org/release/Alien-Build-Plugin-Download-GitLab"
msys2_references=(
'purl: pkg:cpan/PLICEASE/Alien-Build-Plugin-Download-GitLab'
)
depends=('perl-Alien-Build' 'perl-Path-Tiny' 'perl-URI')
makedepends=('perl-Test2-Suite')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Build-Plugin-Download-GitLab-$pkgver.tar.gz")
sha256sums=('c1f089c8ea152a789909d48a83dbfcf2626f773daf30431c8622582b26aba902')
build() {
cd Alien-Build-Plugin-Download-GitLab-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Alien-Build-Plugin-Download-GitLab-$pkgver
make test
}
package() {
cd Alien-Build-Plugin-Download-GitLab-$pkgver
make DESTDIR="$pkgdir" install
}