Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
adc1c530e2 | |||
436f8f62e4 | |||
827ce5d39d | |||
905ebb3719 |
@ -6,15 +6,16 @@ showHelp() {
|
|||||||
echo "arch-pkg-builder [args] command [args]"
|
echo "arch-pkg-builder [args] command [args]"
|
||||||
echo ""
|
echo ""
|
||||||
echo "command :"
|
echo "command :"
|
||||||
echo " list List packages infos"
|
echo " list List packages infos"
|
||||||
echo " infos pkgname Display package infos"
|
echo " infos pkgname Display package infos"
|
||||||
echo " build pkgname Build and publish package"
|
echo " create pkgname modelname Display package infos"
|
||||||
echo " bump pkgname Bump release and publish package"
|
echo " build pkgname Build and publish package"
|
||||||
echo " checkupdate pkgname Check package update"
|
echo " bump pkgname Bump release and publish package"
|
||||||
echo " checkupdateall Check all packages update"
|
echo " checkupdate pkgname Check package update"
|
||||||
echo " update pkgname Update package"
|
echo " checkupdateall Check all packages update"
|
||||||
echo " updateall Update all packages"
|
echo " update pkgname Update package"
|
||||||
echo " pushtoaur pkgname Push package to AUR"
|
echo " updateall Update all packages"
|
||||||
|
echo " pushtoaur pkgname Push package to AUR"
|
||||||
echo ""
|
echo ""
|
||||||
echo "args :"
|
echo "args :"
|
||||||
echo " --cnf configfile"
|
echo " --cnf configfile"
|
||||||
|
@ -16,13 +16,6 @@ if [ "${VERSION}" == "" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ssh -T git@github.com
|
|
||||||
if [ ! "${?}" = "1" ]; then
|
|
||||||
echo "No Github ssh key loaded exiting..."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
CURRENTBRANCH=$(git rev-parse --abbrev-ref HEAD)
|
CURRENTBRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
|
|
||||||
if [ ! "${CURRENTBRANCH}" == "dev" ]; then
|
if [ ! "${CURRENTBRANCH}" == "dev" ]; then
|
||||||
|
@ -10,7 +10,7 @@ license=('GPL3')
|
|||||||
#depends=()
|
#depends=()
|
||||||
#makedepends=()
|
#makedepends=()
|
||||||
#optdepends=()
|
#optdepends=()
|
||||||
#source=("${pkgname}::git+https://url.git")
|
#source=("${pkgname}-${pkgrel}.tar.gz::git+https://url.git")
|
||||||
#md5sums=('SKIP')
|
#md5sums=('SKIP')
|
||||||
#backup=()
|
#backup=()
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ url="${_giteaurl}/${_giteauser}/${_gitearepo}"
|
|||||||
#install="${pkgname}.install"
|
#install="${pkgname}.install"
|
||||||
#provides=()
|
#provides=()
|
||||||
#backup=()
|
#backup=()
|
||||||
source=("${_gitearepo}::${_giteaurl}/${_giteauser}/${_gitearepo}/archive/${_pkgtagname}.tar.gz")
|
source=("${_gitearepo}-${pkgrel}.tar.gz::${_giteaurl}/${_giteauser}/${_gitearepo}/archive/${_pkgtagname}.tar.gz")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -17,8 +17,8 @@ url="https://github.com/${_githubuser}/${_githubrepo}"
|
|||||||
#install="${pkgname}.install"
|
#install="${pkgname}.install"
|
||||||
#provides=()
|
#provides=()
|
||||||
#backup=()
|
#backup=()
|
||||||
#source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz")
|
#source=("${_githubrepo}-${pkgrel}.tar.gz::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz")
|
||||||
#source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/releases/download/v${pkgver}/${_githubrepo}-${pkgver}.tar.gz")
|
#source=("${_githubrepo}-${pkgrel}.tar.gz::https://github.com/${_githubuser}/${_githubrepo}/releases/download/v${pkgver}/${_githubrepo}-${pkgver}.tar.gz")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -17,7 +17,7 @@ url="https://github.com/${_githubuser}/${_githubrepo}"
|
|||||||
#install="${pkgname}.install"
|
#install="${pkgname}.install"
|
||||||
#provides=()
|
#provides=()
|
||||||
#backup=()
|
#backup=()
|
||||||
source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz")
|
source=("${_githubrepo}-${pkgrel}.tar.gz::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -10,7 +10,7 @@ license=('GPL3')
|
|||||||
#depends=()
|
#depends=()
|
||||||
#makedepends=()
|
#makedepends=()
|
||||||
#optdepends=()
|
#optdepends=()
|
||||||
#source=("${pkgname}::git+https://url.git")
|
#source=("${pkgname}-${pkgrel}::git+https://url.git")
|
||||||
#md5sums=('SKIP')
|
#md5sums=('SKIP')
|
||||||
#backup=()
|
#backup=()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user