mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 23:16:52 +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
42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-net-jabber-bot
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Net-Jabber-Bot
|
|
pkgver=2.1.7
|
|
pkgrel=0
|
|
pkgdesc="Automated Jabber Bot creation with safeties"
|
|
url="https://metacpan.org/release/Net-Jabber-Bot/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-log-log4perl perl-moose perl-moosex-types
|
|
perl-mozilla-ca perl-net-jabber
|
|
"
|
|
checkdepends="perl-test-nowarnings"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/T/TO/TODDR/Net-Jabber-Bot-$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="
|
|
9d7d2edc76cbe99da87008dc5e70eb652231ba54988ef848a34ab840582e7b3fb1b23b67898f462ad9fbfce74c4aea6e8ff8f34deb21e2df336dac4dfb6bc09f Net-Jabber-Bot-2.1.7.tar.gz
|
|
"
|