blob: 458ff82b3759489e5e93c1aac41b8ae9534745dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor:
# Maintainer:
pkgname=perl-alien-libgumbo
_pkgreal=Alien-LibGumbo
pkgver=0.02
pkgrel=2
pkgdesc="Perl module for Alien-LibGumbo"
url="http://search.cpan.org/dist/Alien-LibGumbo/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl perl-alien-base gumbo-parser"
cpanmakedepends="perl-module-build perl-alien-base perl-archive-extract
perl-path-class libtool autoconf automake"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
source="http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/$_pkgreal-$pkgver.tar.gz"
subpackages="$pkgname-doc"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor || return 1
else
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
fi
}
build() {
./Build PERL_MM_USE_DEFAULT=1 INSTALLDIRS=vendor || return 1
}
package() {
cd "$_builddir"
install -m0644 -D lib/Alien/LibGumbo.pm \
"$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo.pm
install -m0644 -D blib/lib/Alien/LibGumbo/Install/Files.pm \
"$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo/Install/Files.pm
install -m0644 -D blib/lib/Alien/LibGumbo/ConfigData.pm \
"$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo/ConfigData.pm
install -m0644 -D blib/libdoc/Alien::LibGumbo::ConfigData.3pm \
"$pkgdir"/usr/share/man/man3
mkdir -p "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib
ln -s /usr/lib/libgumbo.so.1.0.0 \
"$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib/libgumbo.so.1
ln -s /usr/lib/libgumbo.so.1.0.0 \
"$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib/libgumbo.so
}
md5sums="9dbcfb65d56c17c09082079bbb42848c Alien-LibGumbo-0.02.tar.gz"
sha256sums="ae4a4ec476dbfe7b9a2ba30041f43e01497c9b6ab761bc88b096a17a156c235f Alien-LibGumbo-0.02.tar.gz"
sha512sums="bbfac21491382f536aea2ff0c5e4f6b8bbc31a317f42fce75dcd3ced97f3733b9fac19a06807016ee78fbc1b56e0a684469e3349c488610259ffc130224dfb04 Alien-LibGumbo-0.02.tar.gz"
|