mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 13:16:58 +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
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-mastodon-client
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Mastodon-Client
|
|
pkgver=0.017
|
|
pkgrel=0
|
|
pkgdesc="Talk to a Mastodon server"
|
|
url="https://metacpan.org/release/Mastodon-Client/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-class-load perl-datetime perl-datetime-format-strptime
|
|
perl-future perl-http-message perl-http-thin perl-image-info
|
|
perl-io-async perl-json-maybexs perl-log-any perl-moo
|
|
perl-net-async-http perl-role-eventemitter perl-try-tiny
|
|
perl-type-tiny perl-types-path-tiny perl-uri
|
|
"
|
|
checkdepends="perl-plack perl-test-tcp perl-test2-suite"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/J/JJ/JJATRIA/Mastodon-Client-$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="
|
|
74cd5eaed6d6be1c28e0560e940adf4d18f6da292e49209b36849e65ffd5a6f805944414dc6d31c2169312f784b8b7dc50269840ebb594ce6dec9758813b0eb1 Mastodon-Client-0.017.tar.gz
|
|
"
|