-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
35 lines (30 loc) · 876 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
pkgname=mobirise
pkgver=last
pkgrel=1
pkgdesc="Create awesome mobile-friendly websites! No coding and free."
arch=('x86_64')
url="https://mobirise.com"
license=('Free')
options=('!strip' '!emptydirs')
#source=("https://download.mobirise.com/MobiriseSetup.deb")
source=("https://download.mobirise.com/beta/mobirise5beta-setup.deb")
sha512sums=('SKIP')
package(){
tar xf data.tar.xz -C "${pkgdir}"
}
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
ln -sf '/opt/Mobirise/mobirise' '/usr/bin/mobirise'
chmod 4755 '/opt/Mobirise/chrome-sandbox' || true
update-mime-database /usr/share/mime || true
update-desktop-database /usr/share/applications || true
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
rm -f '/usr/bin/mobirise'
update-desktop-database -q
}