added post-install script
This commit is contained in:
parent
07499cb956
commit
3fc4fb0ad9
2
PKGBUILD
2
PKGBUILD
|
@ -10,7 +10,7 @@ depends=('pacman'
|
||||||
'yay'
|
'yay'
|
||||||
'fzf')
|
'fzf')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
#install= TODO add post install script to sync pacman file database.
|
install=$pkgname.install
|
||||||
source=("git://github.com/ericlay/$pkgname")
|
source=("git://github.com/ericlay/$pkgname")
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
## arg 1: the new package version
|
||||||
|
post_install() {
|
||||||
|
sudo pacman -Fy && yay -Fy
|
||||||
|
}
|
Loading…
Reference in New Issue