summaryrefslogtreecommitdiffstats
path: root/mods/perlbrew
diff options
context:
space:
mode:
Diffstat (limited to 'mods/perlbrew')
-rw-r--r--mods/perlbrew16
1 files changed, 8 insertions, 8 deletions
diff --git a/mods/perlbrew b/mods/perlbrew
index f97b22c..ee8c2dd 100644
--- a/mods/perlbrew
+++ b/mods/perlbrew
@@ -1,8 +1,8 @@
-provides add("perl-app-perlbrew=$pkgver")
-makedepends match("perl-io-all") moveTo(checkdepends)
-makedepends match("perl-path-class") moveTo(checkdepends)
-license = list("custom:MIT")
-package append("""
-mkdir -p "$pkgdir"/usr/share/licenses/perlbrew
-cp LICENSE "$pkgdir"/usr/share/licenses/perlbrew/LICENSE
-""")
+set provides {perl-app-perlbrew=$pkgver}
+move makedepends checkdepends perl-io-all perl-path-class
+setdep makedepends perl-extutils-makemaker>=5.59
+set license custom:MIT
+fappend package {
+ install -d -m 755 "$pkgdir"/usr/share/licenses/perlbrew
+ install -m 644 LICENSE "$pkgdir"/usr/share/licenses/perlbrew/LICENSE
+}