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
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-mojo-sqlite
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Mojo-SQLite
|
|
pkgver=3.009
|
|
pkgrel=0
|
|
pkgdesc="Tiny Mojolicious wrapper for SQLite"
|
|
url="https://metacpan.org/release/Mojo-SQLite/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="
|
|
perl perl-dbd-sqlite perl-dbi perl-mojolicious
|
|
perl-sql-abstract-pg perl-uri perl-uri-db
|
|
"
|
|
makedepends="perl-module-build-tiny"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Mojo-SQLite-$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="
|
|
acd18cf2f86c448658c7a7e612ba478799327b2a921c2bce6db8155ad0be2f432abdc0625d328f5852970bc39119ef22507a3393a719caeaa011e17aba08e9cf Mojo-SQLite-3.009.tar.gz
|
|
"
|