diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-04-16 01:15:55 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-04-16 01:17:04 +0200 |
commit | bdd04c88ba2bad905134a835dc794d273bd7bf97 (patch) | |
tree | 23dcb0246d1f8403d6516d32cb38cd297b66423f | |
parent | 690e3e9a39e2691b483474725ee1a17d44231401 (diff) | |
download | genpkg-bdd04c88ba2bad905134a835dc794d273bd7bf97.tar.gz genpkg-bdd04c88ba2bad905134a835dc794d273bd7bf97.tar.xz |
Rename tweaks/ to preps/.
Adds GENPKGDBG env variable. Set it to prevent genpkg from
removing PKGTREE and PKGDATA.
-rwxr-xr-x | bin/genpkg | 7 | ||||
-rw-r--r-- | mods/cpanminus (renamed from tweaks/cpanminus) | 0 | ||||
-rw-r--r-- | mods/perl-anyevent (renamed from tweaks/perl-anyevent) | 0 | ||||
-rw-r--r-- | mods/perl-encode-locale (renamed from tweaks/perl-encode-locale) | 0 | ||||
-rw-r--r-- | mods/perl-extutils-makemaker (renamed from tweaks/perl-extutils-makemaker) | 0 | ||||
-rw-r--r-- | mods/perl-file-listing (renamed from tweaks/perl-file-listing) | 0 | ||||
-rw-r--r-- | mods/perl-file-pushd (renamed from tweaks/perl-file-pushd) | 0 | ||||
-rw-r--r-- | mods/perl-guard (renamed from tweaks/perl-guard) | 0 | ||||
-rw-r--r-- | mods/perl-html-form (renamed from tweaks/perl-html-form) | 0 | ||||
-rw-r--r-- | mods/perl-http-cookies (renamed from tweaks/perl-http-cookies) | 0 | ||||
-rw-r--r-- | mods/perl-http-daemon (renamed from tweaks/perl-http-daemon) | 0 | ||||
-rw-r--r-- | mods/perl-http-date (renamed from tweaks/perl-http-date) | 0 | ||||
-rw-r--r-- | mods/perl-http-message (renamed from tweaks/perl-http-message) | 0 | ||||
-rw-r--r-- | mods/perl-http-negotiate (renamed from tweaks/perl-http-negotiate) | 0 | ||||
-rw-r--r-- | mods/perl-libwww (renamed from tweaks/perl-libwww) | 0 | ||||
-rw-r--r-- | mods/perl-lwp-mediatypes (renamed from tweaks/perl-lwp-mediatypes) | 0 | ||||
-rw-r--r-- | mods/perl-moose (renamed from tweaks/perl-moose) | 0 | ||||
-rw-r--r-- | mods/perl-mozilla-ca (renamed from tweaks/perl-mozilla-ca) | 0 | ||||
-rw-r--r-- | mods/perl-net-http (renamed from tweaks/perl-net-http) | 0 | ||||
-rw-r--r-- | mods/perl-package-stash (renamed from tweaks/perl-package-stash) | 0 | ||||
-rw-r--r-- | mods/perl-www-robotrules (renamed from tweaks/perl-www-robotrules) | 0 | ||||
-rw-r--r-- | mods/perlbrew (renamed from tweaks/perlbrew) | 0 | ||||
-rwxr-xr-x | setup | 12 |
23 files changed, 12 insertions, 7 deletions
@@ -94,6 +94,11 @@ do # echo "Modified metapackage." 1>&2 #fi - pbfields < PKGDATA | putpkgtree PKGBUILD prefix body || exit "$?" + cat PKGDATA | injectdigs | pbfields | putpkgtree PKGBUILD prefix body || exit "$?" mergefile PKGBUILD prefix build check package suffix || exit "$?" + + if ! [ "$GENPKGDBG" ] then + rm -rf PKGTREE + rm PKGDATA + fi done diff --git a/tweaks/cpanminus b/mods/cpanminus index 013401f..013401f 100644 --- a/tweaks/cpanminus +++ b/mods/cpanminus diff --git a/tweaks/perl-anyevent b/mods/perl-anyevent index ce50530..ce50530 100644 --- a/tweaks/perl-anyevent +++ b/mods/perl-anyevent diff --git a/tweaks/perl-encode-locale b/mods/perl-encode-locale index 72d6815..72d6815 100644 --- a/tweaks/perl-encode-locale +++ b/mods/perl-encode-locale diff --git a/tweaks/perl-extutils-makemaker b/mods/perl-extutils-makemaker index 66c1af8..66c1af8 100644 --- a/tweaks/perl-extutils-makemaker +++ b/mods/perl-extutils-makemaker diff --git a/tweaks/perl-file-listing b/mods/perl-file-listing index 72d6815..72d6815 100644 --- a/tweaks/perl-file-listing +++ b/mods/perl-file-listing diff --git a/tweaks/perl-file-pushd b/mods/perl-file-pushd index cc84788..cc84788 100644 --- a/tweaks/perl-file-pushd +++ b/mods/perl-file-pushd diff --git a/tweaks/perl-guard b/mods/perl-guard index 1fe8888..1fe8888 100644 --- a/tweaks/perl-guard +++ b/mods/perl-guard diff --git a/tweaks/perl-html-form b/mods/perl-html-form index 72d6815..72d6815 100644 --- a/tweaks/perl-html-form +++ b/mods/perl-html-form diff --git a/tweaks/perl-http-cookies b/mods/perl-http-cookies index 72d6815..72d6815 100644 --- a/tweaks/perl-http-cookies +++ b/mods/perl-http-cookies diff --git a/tweaks/perl-http-daemon b/mods/perl-http-daemon index 72d6815..72d6815 100644 --- a/tweaks/perl-http-daemon +++ b/mods/perl-http-daemon diff --git a/tweaks/perl-http-date b/mods/perl-http-date index 72d6815..72d6815 100644 --- a/tweaks/perl-http-date +++ b/mods/perl-http-date diff --git a/tweaks/perl-http-message b/mods/perl-http-message index 72d6815..72d6815 100644 --- a/tweaks/perl-http-message +++ b/mods/perl-http-message diff --git a/tweaks/perl-http-negotiate b/mods/perl-http-negotiate index 72d6815..72d6815 100644 --- a/tweaks/perl-http-negotiate +++ b/mods/perl-http-negotiate diff --git a/tweaks/perl-libwww b/mods/perl-libwww index 46b301f..46b301f 100644 --- a/tweaks/perl-libwww +++ b/mods/perl-libwww diff --git a/tweaks/perl-lwp-mediatypes b/mods/perl-lwp-mediatypes index 72d6815..72d6815 100644 --- a/tweaks/perl-lwp-mediatypes +++ b/mods/perl-lwp-mediatypes diff --git a/tweaks/perl-moose b/mods/perl-moose index b654191..b654191 100644 --- a/tweaks/perl-moose +++ b/mods/perl-moose diff --git a/tweaks/perl-mozilla-ca b/mods/perl-mozilla-ca index 873c7d3..873c7d3 100644 --- a/tweaks/perl-mozilla-ca +++ b/mods/perl-mozilla-ca diff --git a/tweaks/perl-net-http b/mods/perl-net-http index 72d6815..72d6815 100644 --- a/tweaks/perl-net-http +++ b/mods/perl-net-http diff --git a/tweaks/perl-package-stash b/mods/perl-package-stash index fd218f7..fd218f7 100644 --- a/tweaks/perl-package-stash +++ b/mods/perl-package-stash diff --git a/tweaks/perl-www-robotrules b/mods/perl-www-robotrules index 72d6815..72d6815 100644 --- a/tweaks/perl-www-robotrules +++ b/mods/perl-www-robotrules diff --git a/tweaks/perlbrew b/mods/perlbrew index 0cfecec..0cfecec 100644 --- a/tweaks/perlbrew +++ b/mods/perlbrew @@ -32,7 +32,7 @@ ins() case "$1" in '') cat <<EOF 1>&2 Run "$prog genpkg" to install genpkg & friends into ~/genpkg and ~/bin. -Run "$prog tweaks" to install tweaks into ~/pkg/tweaks. +Run "$prog mods" to install mods into ~/pkg/mods. EOF ;; genpkg) md ~/bin @@ -49,12 +49,12 @@ genpkg) md ~/bin done md ~/.genpkg/var ;; -tweaks) md ~/pkg/tweaks/ - for t in tweaks/* +mods) md ~/pkg/mods/ + for m in mods/* do - case $t in *~) continue ;; esac - echo ~/pkg/"$t" - cp "$t" ~/pkg/"$t" + case $m in *~) continue ;; esac + echo ~/pkg/"$m" + cp "$t" ~/pkg/"$m" done ;; *) echo "$prog: unrecognized argument: $1" 1>&2 |