mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-27 09:21:41 +02:00
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor:
|
|
# Maintainer:
|
|
pkgname=perl-shell-guess
|
|
_pkgreal=Shell-Guess
|
|
pkgver=0.06
|
|
pkgrel=1
|
|
pkgdesc="Make an educated guess about the shell in use"
|
|
url="http://search.cpan.org/dist/Shell-Guess/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
cpandepends=""
|
|
cpanmakedepends="perl-module-build"
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
perl Build.PL installdirs=vendor || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
./Build && ./Build test
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
./Build install destdir="$pkgdir" || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
md5sums="767d7628cd7d73f129029a649ef45a67 Shell-Guess-0.06.tar.gz"
|
|
sha256sums="4758c98affcade0d8f3882f8c2a9ee671bf1eef72f1025796cff939f7e93be23 Shell-Guess-0.06.tar.gz"
|
|
sha512sums="026a114059d9e4edb96f3bf73612564b38f8651e5007341b19c704aa1b109c53b1c88ada0ae1feb8dfa9759c979608f3658d3cfb52f6dbf1b927707e11876f98 Shell-Guess-0.06.tar.gz"
|