This commit is contained in:
Tibo De Peuter 2022-10-26 15:27:50 +02:00
parent 106f3e0806
commit 3efc900601
17 changed files with 19 additions and 9 deletions

View file

@ -5,7 +5,7 @@ pkgver = 0.0.3-1
pkgarch = any
pkgbuild_sha256sum = bec2b31bb8982cfc1ed21a4d270d73857a3e7072283d655e986bb15cf0ed59d6
packager = Unknown Packager
builddate = 1666789956
builddate = 1666790847
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg

View file

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

View file

@ -5,7 +5,7 @@ pkgver = 0.0.3-1
pkgarch = any
pkgbuild_sha256sum = bec2b31bb8982cfc1ed21a4d270d73857a3e7072283d655e986bb15cf0ed59d6
packager = Unknown Packager
builddate = 1666789956
builddate = 1666790847
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg

View file

@ -1,19 +1,29 @@
post_install() {
echo "installing repo"
# Initiate the stow repo
git clone --depth 1 --progress https://git.depeuter.tk/tdpeuter/arch-pkgs /usr/share/tdpeuter/arch-pkgs
sleep 2
post_upgrade
}
post_upgrade() {
echo "moving directories"
cd /usr/share/tdpeuter/arch-pkgs/
echo "pulling repo"
sleep 2
git pull
user=$(who | cut -f1 -d' ')
packages=$(ls ./stow)
echo "stowing packages"
stow -d ./stow -t "/home/${user}" ${packages}
}
pre_remove() {
rm -rf /usr/share/tdpeuter/arch-pkgs
}

View file

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

View file

@ -5,7 +5,7 @@ pkgver = 0.0.3-1
pkgarch = any
pkgbuild_sha256sum = bec2b31bb8982cfc1ed21a4d270d73857a3e7072283d655e986bb15cf0ed59d6
packager = Unknown Packager
builddate = 1666789956
builddate = 1666790847
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg

Binary file not shown.

View file

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

View file

@ -5,7 +5,7 @@ pkgver = 0.0.3-1
pkgarch = any
pkgbuild_sha256sum = bec2b31bb8982cfc1ed21a4d270d73857a3e7072283d655e986bb15cf0ed59d6
packager = Unknown Packager
builddate = 1666789956
builddate = 1666790847
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg

Binary file not shown.

View file

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