mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
37 lines
980 B
Plaintext
37 lines
980 B
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
maintainer="Callum Andrew <contact@candrew.net>"
|
|
pkgname=perl-clipboard
|
|
pkgver=0.32
|
|
pkgrel=0
|
|
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Clipboard
|
|
pkgdesc="Copy and paste with any OS"
|
|
url="https://metacpan.org/release/Clipboard/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-cgi perl-uri"
|
|
makedepends="perl-module-build"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Clipboard-$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="
|
|
cf8ef2a21cfa780b79ef530d8e1c1e423ec477a8ed44e8b90dd06a8adc7eac2df79dc5eed3b899118c802fde771d0d9ac31644f6f7bb2c3be11911386cea14a3 Clipboard-0.32.tar.gz
|
|
"
|