summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortrizen2015-06-17 13:26:38 +0300
committertrizen2015-06-17 13:26:38 +0300
commit4e704717fbb1e0537a351bda5043a5c6570b5cf3 (patch)
tree027e790b5e4fce7f18d051700d0a5c131921349c
downloadaur-4e704717fbb1e0537a351bda5043a5c6570b5cf3.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rwxr-xr-xPKGBUILD25
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6980cf1a57e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = perl-linux-desktopfiles
+ pkgdesc = Perl module to get and parse the Linux .desktop files
+ pkgver = 0.09
+ pkgrel = 1
+ url = https://metacpan.org/module/Linux::DesktopFiles
+ arch = any
+ license = GPLv3
+ makedepends = perl-module-build
+ depends = perl>=5.14.0
+ source = http://cpan.metacpan.org/authors/id/T/TR/TRIZEN/Linux-DesktopFiles-0.09.tar.gz
+ sha256sums = 45afb52301ed1553fa741c40e62dc91280bb0e6e58dad83e6a49415a02f0973b
+
+pkgname = perl-linux-desktopfiles
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..9769c3dd3e5
--- /dev/null
+++ b/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
+}