minor fixes
This commit is contained in:
parent
7967ee7ab3
commit
2e8d2140b9
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -133,3 +133,6 @@
|
|||||||
[submodule "augeas-git"]
|
[submodule "augeas-git"]
|
||||||
path = augeas-git
|
path = augeas-git
|
||||||
url = aur@aur.archlinux.org:augeas-git
|
url = aur@aur.archlinux.org:augeas-git
|
||||||
|
[submodule "ecdsatool-git"]
|
||||||
|
path = ecdsatool-git
|
||||||
|
url = aur@aur.archlinux.org:ecdsatool-git
|
||||||
|
@ -20,12 +20,15 @@ do
|
|||||||
case ${opt} in
|
case ${opt} in
|
||||||
"Release/Versioned")
|
"Release/Versioned")
|
||||||
PKGTYPE="release"
|
PKGTYPE="release"
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
"VCS (Git, SVN, Mercurial, etc.)")
|
"VCS (Git, SVN, Mercurial, etc.)")
|
||||||
PKGTYPE="vcs"
|
PKGTYPE="vcs"
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
"Quit")
|
"Quit")
|
||||||
exit 0
|
exit 0
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
*) echo invalid option;;
|
*) echo invalid option;;
|
||||||
esac
|
esac
|
||||||
@ -41,18 +44,23 @@ then
|
|||||||
case ${opt} in
|
case ${opt} in
|
||||||
"Git")
|
"Git")
|
||||||
VCSTYPE='git'
|
VCSTYPE='git'
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
"Subversion")
|
"Subversion")
|
||||||
VCSTYPE='svn'
|
VCSTYPE='svn'
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
"Bazaar")
|
"Bazaar")
|
||||||
VCSTYPE='bzr'
|
VCSTYPE='bzr'
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
"(Other)")
|
"(Other)")
|
||||||
VCSTYPE='unknown'
|
VCSTYPE='unknown'
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
"Quit")
|
"Quit")
|
||||||
exit 0
|
exit 0
|
||||||
|
break
|
||||||
;;
|
;;
|
||||||
*) echo invalid option;;
|
*) echo invalid option;;
|
||||||
esac
|
esac
|
||||||
@ -98,17 +106,22 @@ fi
|
|||||||
|
|
||||||
# Get other bits of info.
|
# Get other bits of info.
|
||||||
# PKGDESC
|
# PKGDESC
|
||||||
echo -ne "What is a DESCRIPTION of ${_PKGNAME}? (Do not include the package name- e.g.:\n Provides a library for mutating teenage turtles\n) "
|
echo -ne "What is a DESCRIPTION of ${_PKGNAME}? (Do not include the package name- e.g.:\n Provides a library for mutating teenage turtles\n): "
|
||||||
read PKGDESC
|
read PKGDESC
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# PKGURL
|
# PKGURL
|
||||||
|
echo -n "What is the URL for ${_PKGNAME}'s website? "
|
||||||
|
read PKGURL
|
||||||
|
echo
|
||||||
|
|
||||||
|
# SRCURL
|
||||||
if [[ "${PKGTYPE}" == 'vcs' ]];
|
if [[ "${PKGTYPE}" == 'vcs' ]];
|
||||||
then
|
then
|
||||||
echo -ne "What is the CHECKOUT URL for ${_PKGNAME}?\n(Do not include the directory or VCS type prefix as per https://wiki.archlinux.org/index.php/VCS_package_guidelines#VCS_sources - this is added automatically) e.g.:\n https://github.com/shinnok/johnny.git\nURL: "
|
echo -ne "What is the CHECKOUT URL for ${_PKGNAME}?\n(Do not include the directory or VCS type prefix as per https://wiki.archlinux.org/index.php/VCS_package_guidelines#VCS_sources - this is added automatically) e.g.:\n https://github.com/shinnok/johnny.git\nURL: "
|
||||||
read SRCURL
|
read SRCURL
|
||||||
echo
|
echo
|
||||||
PKGURL="${_PKGNAME}::${VCSTYPE}+${PKGURL}"
|
SRCURL="${_PKGNAME}::${VCSTYPE}+${SRCURL}"
|
||||||
SRCFILE=''
|
SRCFILE=''
|
||||||
else
|
else
|
||||||
echo -n "What is the URL to the source tarball for ${PKGNAME} (version ${PKGVER})? "
|
echo -n "What is the URL to the source tarball for ${PKGNAME} (version ${PKGVER})? "
|
||||||
@ -168,7 +181,7 @@ else
|
|||||||
touch "${SRCFILE}.sig"
|
touch "${SRCFILE}.sig"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i in MAINTNAME GPGKEY PKGNAME PKGVER PKGDESC SRCURL LICENSE PKGDEPS OPTDEPS BUILDDEPS _PKGNAME SRCFILE;
|
for i in MAINTNAME GPGKEY PKGNAME PKGVER PKGDESC PKGURL SRCURL LICENSE PKGDEPS OPTDEPS BUILDDEPS _PKGNAME SRCFILE;
|
||||||
do
|
do
|
||||||
NEWVAL=${!i}
|
NEWVAL=${!i}
|
||||||
#echo "${i} is ${NEWVAL}"
|
#echo "${i} is ${NEWVAL}"
|
||||||
|
1
ecdsatool-git
Submodule
1
ecdsatool-git
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit d6f1fea9d6672b6681bfc35b9603726065da3458
|
Loading…
Reference in New Issue
Block a user