Moved arch to its own subdirectory

This commit is contained in:
Tibo De Peuter 2023-03-12 19:55:04 +01:00
parent d4514416bf
commit 6c031e117f
70 changed files with 0 additions and 0 deletions

19
arch/pkg/tdpeuter/DOMAKEPKG Executable file
View file

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