1
0
Fork 0
mirror of https://aur.archlinux.org/ocp.git synced 2025-04-27 14:04:28 -04:00

Overhauled PKGBUILD with update to 0.2.99

This commit is contained in:
Xavier Moffett 2022-09-23 12:47:02 -04:00
parent 17d5377fb7
commit 5a8ed16c40
3 changed files with 68 additions and 55 deletions

21
ocp.install Normal file
View file

@ -0,0 +1,21 @@
infodir=usr/share/info
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
[ -x usr/bin/install-info ] || return 0
install-info $infodir/ocp.info.gz $infodir/dir 2> /dev/null
}
post_upgrade() {
post_install
}
pre_remove() {
install-info --delete $infodir/ocp.info.gz $infodir/dir 2> /dev/null
}
post_remove() {
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}