blob: 4a85395c600f144bb50bf6e482238c51346a1c1f (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-file-desktopentry
_pkgreal=File-DesktopEntry
_author=MICHIELB
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.22
pkgrel=0
pkgdesc="Handle .desktop files from Perl"
url="https://metacpan.org/release/File-DesktopEntry"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-file-basedir perl-uri-escape"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="f6a0f2a91c66ea3e5ebac1e66f82317c4109d8d3e2211b4e84cd870b9df07320c03ee0d026e89f788338a1c02152c77e36402684da4f5a7093eb3ac21ff584a7 File-DesktopEntry-0.22.tar.gz"
|