summaryrefslogtreecommitdiff
path: root/pcr/perl-linux-desktopfiles
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/perl-linux-desktopfiles')
-rw-r--r--pcr/perl-linux-desktopfiles/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/perl-linux-desktopfiles/PKGBUILD b/pcr/perl-linux-desktopfiles/PKGBUILD
new file mode 100644
index 000000000..a206e2090
--- /dev/null
+++ b/pcr/perl-linux-desktopfiles/PKGBUILD
@@ -0,0 +1,25 @@
+ # Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
+
+pkgname=perl-linux-desktopfiles
+_pkgname=Linux-DesktopFiles
+pkgver=0.09
+pkgrel=1
+pkgdesc="Perl module to get and parse the Linux .desktop files"
+arch=('any')
+url="https://metacpan.org/module/Linux::DesktopFiles"
+
+source="http://cpan.metacpan.org/authors/id/T/TR/TRIZEN/${_pkgname}-${pkgver}.tar.gz"
+sha256sums=('45afb52301ed1553fa741c40e62dc91280bb0e6e58dad83e6a49415a02f0973b')
+
+license=('GPLv3')
+
+depends=('perl>=5.14.0')
+makedepends=('perl-module-build')
+
+package() {
+ cd "${_pkgname}-$pkgver"
+ perl Build.PL --destdir "$pkgdir" --installdirs vendor
+ ./Build
+ ./Build test
+ ./Build install
+} \ No newline at end of file