5 Commits
0.0.1 ... 0.0.4

Author SHA1 Message Date
9b9702cbb4 Uncomment MAKEFLAGS 2025-05-03 01:51:55 +02:00
adc1c530e2 update makrerelease 2024-04-07 04:24:58 +02:00
436f8f62e4 update makrerelease 2024-04-07 04:24:17 +02:00
827ce5d39d Update pkgbuilder help 2024-04-07 04:21:20 +02:00
905ebb3719 upadte models 2024-03-28 02:25:02 +01:00
8 changed files with 17 additions and 22 deletions

View File

@@ -96,6 +96,7 @@ createbuildroot() {
sed -i -e '/MAKEFLAGS=/ s/^#*/#/' "${BUILDDIR}"/etc/makepkg.conf sed -i -e '/MAKEFLAGS=/ s/^#*/#/' "${BUILDDIR}"/etc/makepkg.conf
local -r CPUCORES=$(grep -c ^processor /proc/cpuinfo) local -r CPUCORES=$(grep -c ^processor /proc/cpuinfo)
sed -i "s/^MAKEFLAGS=.*/MAKEFLAGS=\"-j${CPUCORES}\"/" "${BUILDDIR}"/etc/makepkg.conf sed -i "s/^MAKEFLAGS=.*/MAKEFLAGS=\"-j${CPUCORES}\"/" "${BUILDDIR}"/etc/makepkg.conf
sed -i 's/^#MAKEFLAGS=/MAKEFLAGS=/g' "${BUILDDIR}"/etc/makepkg.conf
} }
configurebuildroot() { configurebuildroot() {
if ! systemd-nspawn -a -D "${BUILDDIR}" useradd -r -m "${BUILDUSER}"; then if ! systemd-nspawn -a -D "${BUILDDIR}" useradd -r -m "${BUILDUSER}"; then

View File

@@ -8,6 +8,7 @@ showHelp() {
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 " create pkgname modelname Display package infos"
echo " build pkgname Build and publish package" echo " build pkgname Build and publish package"
echo " bump pkgname Bump release and publish package" echo " bump pkgname Bump release and publish package"
echo " checkupdate pkgname Check package update" echo " checkupdate pkgname Check package update"

View File

@@ -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

View File

@@ -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=()

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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=()