summaryrefslogtreecommitdiffstats
path: root/bin/makepkgmeta
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2011-10-07 21:03:26 +0200
committerJustin Davis <jrcd83@gmail.com>2011-10-07 21:03:26 +0200
commit2fe258beb84c7e19e15af0818b1e9d84ca7e8f9b (patch)
treeeb970f058095fc8152206fa85093e67c6d3febe3 /bin/makepkgmeta
parent8f99f0bafeb61b2f42650c703dedf377000cc53a (diff)
downloadgenpkg-2fe258beb84c7e19e15af0818b1e9d84ca7e8f9b.tar.gz
genpkg-2fe258beb84c7e19e15af0818b1e9d84ca7e8f9b.tar.xz
Allow for a MAINTAINER env. variable to override PACKAGER.
Diffstat (limited to 'bin/makepkgmeta')
-rwxr-xr-xbin/makepkgmeta5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/makepkgmeta b/bin/makepkgmeta
index cce6dbe..9c0a6c5 100755
--- a/bin/makepkgmeta
+++ b/bin/makepkgmeta
@@ -14,6 +14,11 @@ printf "pkgname\n%s\n\n" "$1"
printf "pkgrel\n%d\n\n" "${PKGREL:-1}"
printf "packager\n%s\n\n" "${PACKAGER:-Anonymous}"
+if [ "$MAINTAINER" ]
+then
+ printf "maintainer\n%s\n\n" "$MAINTAINER"
+fi
+
for flav in "$METABIN"/*
do
[ -x "$flav" ] || continue