aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-file-mimeinfo/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/perl-file-mimeinfo/APKBUILD
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/perl-file-mimeinfo/APKBUILD')
-rw-r--r--unmaintained/perl-file-mimeinfo/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-file-mimeinfo/APKBUILD b/unmaintained/perl-file-mimeinfo/APKBUILD
new file mode 100644
index 0000000000..b75d2e67d8
--- /dev/null
+++ b/unmaintained/perl-file-mimeinfo/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-mimeinfo
+_pkgreal=File-MimeInfo
+pkgver=0.26
+pkgrel=0
+pkgdesc="Determine file types"
+url="http://search.cpan.org/dist/File-MimeInfo/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-file-desktopentry perl-file-basedir "
+depends="$cpandepends shared-mime-info"
+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="1caf2827a845d8b734ea1c357bd3d89c File-MimeInfo-0.26.tar.gz"
+sha256sums="544f58631a383460754a233a1cb00572c57caa04cc3c11fa7c242caf5f89ceb3 File-MimeInfo-0.26.tar.gz"
+sha512sums="ac63d16a1c5761f853e639a020f38cdebb861ea60a6868e6279c15bc2447fd6f7042396e77f116d00c7c858fe265ac84809bf24e8f5c355253442ef21fd40368 File-MimeInfo-0.26.tar.gz"