Add config file for scripts

This commit is contained in:
Eric Torres 2022-03-17 21:18:17 -07:00
parent 176a3d758f
commit 6ebd81ebc7
3 changed files with 9 additions and 1 deletions

View File

@ -6,6 +6,7 @@ Version 1.6
* Project
* Rename pacmanconf module to pacman
* Add config file to /etc
Version 1.4
-----------

View File

@ -11,7 +11,8 @@ makedepends=('git' 'python-setuptools')
optdepends=('fzf: for the fqo script'
'mlocate: for the fqo script')
checkdepends=('python-hypothesis')
backup=(etc/apparmor.d/usr.bin.{addpkg,delpkg})
backup=(etc/apparmor.d/usr.bin.{addpkg,delpkg}
etc/packaging-scripts.conf)
source=("$pkgname-$pkgver.tar.gz")
sha256sums=('7f235f7bc5d500ed2e9ef371678d176d4c9fdff268aac11f52f9fd4891cf8719')
sha512sums=('74fe9fa108fd0acbfcb24ebbfa91e2aadf356f018938c6ba8fe890bb74e23d06cbfeee2114836ad501a71df7dab4460d03c4c75808f1e71e7610bd3c16a754b5')
@ -34,6 +35,9 @@ package() {
# install README
install -Dm644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
# install config file
install -Dm644 'misc/packaging-scripts.conf' "${pkgdir}/etc/packaging-scripts.conf"
# install AppArmor profiles
for profile in misc/apparmor/*; do
install -Dm644 "${profile}" "${pkgdir}/etc/apparmor.d/${profile##*/}"

View File

@ -0,0 +1,3 @@
[Main]
# Activate pug script upon running pug ALPM hook
GIST_PUG_ENABLE = no