mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/perl-clipboard: new aport
This commit is contained in:
parent
f486f130ca
commit
cb4c409f07
36
testing/perl-clipboard/APKBUILD
Normal file
36
testing/perl-clipboard/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# 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
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user