Template
1
0
Fork 0
mirror of https://aur.archlinux.org/ocp-git.git synced 2025-05-10 03:54:28 -04:00

Initial import

This commit is contained in:
Ossi Saukko 2015-09-09 16:51:44 +03:00
commit 6acb873e14
3 changed files with 97 additions and 0 deletions

25
ocp-git.install Normal file
View file

@ -0,0 +1,25 @@
infodir=usr/share/info
post_install() {
[ -x usr/bin/install-info ] || return 0
install-info $infodir/ocp.info.gz $infodir/dir 2> /dev/null
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
echo
echo Please note that you need to rebuild this package after installing any of the optional dependencies.
echo
}
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
}