diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-04-21 21:15:25 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-04-21 21:15:25 +0200 |
commit | 09263ccbe6a6d369c698c7fa9789e01b7253cafc (patch) | |
tree | 58207ceee929030dab9da8a973d83ea8e3ae5022 /mods | |
parent | 2ab2432f89f35802dcfea6c1ddd3746f9638a8b1 (diff) | |
download | genpkg-09263ccbe6a6d369c698c7fa9789e01b7253cafc.tar.gz genpkg-09263ccbe6a6d369c698c7fa9789e01b7253cafc.tar.xz |
Fix the perlbrew mod.
Replace the license, dont just add to it. Append
to the package() func in one fell swoop.
Diffstat (limited to 'mods')
-rw-r--r-- | mods/perlbrew | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mods/perlbrew b/mods/perlbrew index 721dbe8..7e74be8 100644 --- a/mods/perlbrew +++ b/mods/perlbrew @@ -1,6 +1,8 @@ provides add("perl-app-perlbrew=${pkgver}") makedepends match("perl-io-all") moveTo(checkdepends) makedepends match("perl-path-class") moveTo(checkdepends) -license add("custom:MIT") -package append("mkdir -p \"$pkgdir\"/usr/share/licenses/perlbrew") -package append("cp LICENSE \"$pkgdir\"/usr/share/licenses/perlbrew/LICENSE") +license = list("custom:MIT") +package append(""" +mkdir -p "$pkgdir"/usr/share/licenses/perlbrew +cp LICENSE "$pkgdir"/usr/share/licenses/perlbrew/LICENSE +""") |