testing/perl-tickit-app-plugin-escapeprefix: new aport

https://metacpan.org/release/Tickit-App-Plugin-EscapePrefix/
Tickit application plugin for Escape-prefixed shortcut keys
This commit is contained in:
Celeste 2023-10-13 06:06:06 +00:00 committed by Leonardo Arena
parent 9027ead1ae
commit 40331b6044

View File

@ -0,0 +1,36 @@
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-tickit-app-plugin-escapeprefix
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Tickit-App-Plugin-EscapePrefix
pkgver=0.02
pkgrel=0
pkgdesc="Tickit application plugin for Escape-prefixed shortcut keys"
url="https://metacpan.org/release/Tickit-App-Plugin-EscapePrefix/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-tickit"
makedepends="perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Tickit-App-Plugin-EscapePrefix-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
012cf92b481246e48d6f840c241c532e1e520635ff3aba37ae10642c83686532d90dfc4e6b27625c9a8461e0bcc2b959c93d9b0745f98ae8e370d0e5ef9ffe29 Tickit-App-Plugin-EscapePrefix-0.02.tar.gz
"