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