moved some docs around, wrote README

This commit is contained in:
brent s
2016-07-01 21:51:28 -04:00
parent 7ce1c16789
commit cef3631f31
4 changed files with 199 additions and 6 deletions

11
_docs/notes Normal file
View File

@@ -0,0 +1,11 @@
to do updates on ALL pkgbuilds (meta stuff), you'll want to increment the pkgrel:
for i in $(find ./ -type f -name PKGBUILD);
do
PKGVER=$(egrep '^pkgrel=' ${i} | cut -f2 -d"=" | sed -e "s/'//g" -e 's/"//g' -e 's/[[:space:]]*//g')
PKGVER=$((PKGVER+1))
sed -i -e "s/^pkgrel=.*$/pkgrel=${PKGVER}/g" ${i}
done
similar loops can help with e.g. adding PGP keys, etc.