Add config file for scripts
This commit is contained in:
parent
176a3d758f
commit
6ebd81ebc7
@ -6,6 +6,7 @@ Version 1.6
|
|||||||
|
|
||||||
* Project
|
* Project
|
||||||
* Rename pacmanconf module to pacman
|
* Rename pacmanconf module to pacman
|
||||||
|
* Add config file to /etc
|
||||||
|
|
||||||
Version 1.4
|
Version 1.4
|
||||||
-----------
|
-----------
|
||||||
|
6
PKGBUILD
6
PKGBUILD
@ -11,7 +11,8 @@ makedepends=('git' 'python-setuptools')
|
|||||||
optdepends=('fzf: for the fqo script'
|
optdepends=('fzf: for the fqo script'
|
||||||
'mlocate: for the fqo script')
|
'mlocate: for the fqo script')
|
||||||
checkdepends=('python-hypothesis')
|
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")
|
source=("$pkgname-$pkgver.tar.gz")
|
||||||
sha256sums=('7f235f7bc5d500ed2e9ef371678d176d4c9fdff268aac11f52f9fd4891cf8719')
|
sha256sums=('7f235f7bc5d500ed2e9ef371678d176d4c9fdff268aac11f52f9fd4891cf8719')
|
||||||
sha512sums=('74fe9fa108fd0acbfcb24ebbfa91e2aadf356f018938c6ba8fe890bb74e23d06cbfeee2114836ad501a71df7dab4460d03c4c75808f1e71e7610bd3c16a754b5')
|
sha512sums=('74fe9fa108fd0acbfcb24ebbfa91e2aadf356f018938c6ba8fe890bb74e23d06cbfeee2114836ad501a71df7dab4460d03c4c75808f1e71e7610bd3c16a754b5')
|
||||||
@ -34,6 +35,9 @@ package() {
|
|||||||
# install README
|
# install README
|
||||||
install -Dm644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
|
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
|
# install AppArmor profiles
|
||||||
for profile in misc/apparmor/*; do
|
for profile in misc/apparmor/*; do
|
||||||
install -Dm644 "${profile}" "${pkgdir}/etc/apparmor.d/${profile##*/}"
|
install -Dm644 "${profile}" "${pkgdir}/etc/apparmor.d/${profile##*/}"
|
||||||
|
3
misc/packaging-scripts.conf
Normal file
3
misc/packaging-scripts.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Main]
|
||||||
|
# Activate pug script upon running pug ALPM hook
|
||||||
|
GIST_PUG_ENABLE = no
|
Loading…
x
Reference in New Issue
Block a user