archrelease: copy trunk to testing-any
[arch-packages.git] / perl-file-desktopentry / repos / extra-any / PKGBUILD
blob6fc05c894ad32c3553bb8d800c55768a6d2824b2
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-file-desktopentry
4 pkgver=0.22
5 pkgrel=10
6 pkgdesc='Object to handle .desktop files'
7 arch=('any')
8 license=('GPL' 'PerlArtistic')
9 url="https://search.cpan.org/dist/File-DesktopEntry/"
10 depends=('perl-file-basedir' 'perl-uri')
11 checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
12 options=('!emptydirs')
13 source=(https://search.cpan.org/CPAN/authors/id/M/MI/MICHIELB/File-DesktopEntry-$pkgver.tar.gz)
14 sha256sums=('169c01e3dae2f629767bec1a9f1cdbd6ec6d713d1501e0b2786e4dd1235635b8')
16 build() {
17   cd File-DesktopEntry-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd File-DesktopEntry-$pkgver
24   make test
27 package() {
28   cd File-DesktopEntry-$pkgver
29   make DESTDIR="${pkgdir}" install