Final test of workflow

This commit is contained in:
Tibo De Peuter 2022-10-26 23:00:39 +02:00
parent 537dac7d21
commit 3533e70907
19 changed files with 11 additions and 10 deletions

View file

@ -1,12 +1,13 @@
#!/usr/bin/env bash #!/usr/bin/env bash
ver=$(grep "^pkgver=" "./PKGBUILD" | sed "s/^pkgver=\(.*\)$/\1/" )
new=$(makepkg -f | grep Creating | sed "s/^.*\"\(.*\)\".*$/\1/g")
for pkg in "$new"; do ver=$( grep "^pkgver=" "./PKGBUILD" | sed "s/^pkgver=\(.*\)$/\1/" )
>&2 echo "Building version ${ver}"
while read pkg ; do
match=$(find . -name "*${pkg}-${ver}*") match=$(find . -name "*${pkg}-${ver}*")
>&2 echo "Adding ${match}" >&2 echo "Adding ${match}"
repo-add tdpeuter.db.tar.gz ${match} repo-add tdpeuter.db.tar.gz ${match}
done done <<< $( makepkg -f | grep Creating | sed "s/^.*\"\(.*\)\".*$/\1/g" )
rm tdpeuter.db tdpeuter.files rm tdpeuter.db tdpeuter.files
cp tdpeuter.db.tar.gz tdpeuter.db cp tdpeuter.db.tar.gz tdpeuter.db

View file

@ -5,7 +5,7 @@ pkgver = 0.0.13-1
pkgarch = any pkgarch = any
pkgbuild_sha256sum = e816ad762cd10bfc32004d5b937b0180f8e6ced0c532b3d9ff6c25f004631bb0 pkgbuild_sha256sum = e816ad762cd10bfc32004d5b937b0180f8e6ced0c532b3d9ff6c25f004631bb0
packager = Unknown Packager packager = Unknown Packager
builddate = 1666817266 builddate = 1666818035
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg buildtool = makepkg

View file

@ -5,7 +5,7 @@ pkgbase = tdpeuter
pkgver = 0.0.13-1 pkgver = 0.0.13-1
pkgdesc = Sysconfig for my systems pkgdesc = Sysconfig for my systems
url = https://git.depeuter.tk/tdpeuter/arch-pkgs url = https://git.depeuter.tk/tdpeuter/arch-pkgs
builddate = 1666817266 builddate = 1666818035
packager = Unknown Packager packager = Unknown Packager
size = 0 size = 0
arch = any arch = any

View file

@ -5,7 +5,7 @@ pkgver = 0.0.13-1
pkgarch = any pkgarch = any
pkgbuild_sha256sum = e816ad762cd10bfc32004d5b937b0180f8e6ced0c532b3d9ff6c25f004631bb0 pkgbuild_sha256sum = e816ad762cd10bfc32004d5b937b0180f8e6ced0c532b3d9ff6c25f004631bb0
packager = Unknown Packager packager = Unknown Packager
builddate = 1666817266 builddate = 1666818035
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg buildtool = makepkg

View file

@ -5,7 +5,7 @@ pkgbase = tdpeuter
pkgver = 0.0.13-1 pkgver = 0.0.13-1
pkgdesc = Sysconfig for my systems pkgdesc = Sysconfig for my systems
url = https://git.depeuter.tk/tdpeuter/arch-pkgs url = https://git.depeuter.tk/tdpeuter/arch-pkgs
builddate = 1666817266 builddate = 1666818035
packager = Unknown Packager packager = Unknown Packager
size = 0 size = 0
arch = any arch = any

View file

@ -5,7 +5,7 @@ pkgver = 0.0.13-1
pkgarch = any pkgarch = any
pkgbuild_sha256sum = e816ad762cd10bfc32004d5b937b0180f8e6ced0c532b3d9ff6c25f004631bb0 pkgbuild_sha256sum = e816ad762cd10bfc32004d5b937b0180f8e6ced0c532b3d9ff6c25f004631bb0
packager = Unknown Packager packager = Unknown Packager
builddate = 1666817266 builddate = 1666818035
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg buildtool = makepkg

Binary file not shown.

View file

@ -5,7 +5,7 @@ pkgbase = tdpeuter
pkgver = 0.0.13-1 pkgver = 0.0.13-1
pkgdesc = Sysconfig for my systems pkgdesc = Sysconfig for my systems
url = https://git.depeuter.tk/tdpeuter/arch-pkgs url = https://git.depeuter.tk/tdpeuter/arch-pkgs
builddate = 1666817266 builddate = 1666818035
packager = Unknown Packager packager = Unknown Packager
size = 0 size = 0
arch = any arch = any

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.