mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-syntax-operator-equ
|
|
pkgver=0.10
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Syntax-Operator-Equ
|
|
pkgdesc="Equality operators that distinguish 'undef'"
|
|
url="https://metacpan.org/release/Syntax-Operator-Equ/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-meta perl-xs-parse-keyword"
|
|
makedepends="perl-dev perl-module-build"
|
|
checkdepends="perl-syntax-keyword-match perl-syntax-operator-in"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Syntax-Operator-Equ-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL \
|
|
--installdirs=vendor \
|
|
--create_packlist=0
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
7308de4fc5276ac838c944f08c4da1c8d008da60ed3ad609df730f72018b3f7e7e19f70c157d3b2ea607e3b4f9a845d525483e9d7c69cddf7661201eef5be36f Syntax-Operator-Equ-0.10.tar.gz
|
|
"
|