diff options
-rw-r--r-- | testing/perl-file-desktopentry/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-file-desktopentry/APKBUILD b/testing/perl-file-desktopentry/APKBUILD new file mode 100644 index 0000000000..6175a129fc --- /dev/null +++ b/testing/perl-file-desktopentry/APKBUILD @@ -0,0 +1,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" |