mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-smart-comments: new aport
This commit is contained in:
parent
16bc77494f
commit
3c849f66c4
1 changed files with 37 additions and 0 deletions
37
testing/perl-smart-comments/APKBUILD
Normal file
37
testing/perl-smart-comments/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||
pkgname=perl-smart-comments
|
||||
pkgver=1.06
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Smart-Comments
|
||||
pkgdesc="Comments that do more than just sit there"
|
||||
url="https://metacpan.org/release/Smart-Comments/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Smart-Comments-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
00cf19b8c0457b0055b87a5cb2e6f218c7c83264811a3d830c2ff95dd9ea62ebe507a9a117e52691a28f148418a0ff1d0bbdb6e1315e205e16a67a7eb5e95bda Smart-Comments-1.06.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue