blob: 6175a129fc5ea6c752b82ea105d560c404adae2a (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-file-desktopentry
_pkgreal=File-DesktopEntry
pkgver=0.08
pkgrel=0
pkgdesc="Module to handle .desktop files"
url="http://search.cpan.org/dist/File-DesktopEntry/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-file-basedir "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MI/MICHIELB/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="c2a136852d514552a85ee9392060947e File-DesktopEntry-0.08.tar.gz"
sha256sums="1e51b962f21fb9ce31df88210e305605f48f595845eed536c1f049cf0de09486 File-DesktopEntry-0.08.tar.gz"
sha512sums="bb57c7c3c13980a3cd77255e295e130b0056a54e808bf332ed237ee952328f7f4bb419a5df57de20aabf334e889f4f667fe4e209e10525fdb94ee1f7e8ee8cb8 File-DesktopEntry-0.08.tar.gz"
|