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:
parent
17d5377fb7
commit
5a8ed16c40
3 changed files with 68 additions and 55 deletions
21
ocp.install
Normal file
21
ocp.install
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue