blob: ef33fd382731dd69a0d2329294eb0b8259b319c7 (
plain)
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
35
36
37
38
39
40
41
42
|
# Maintainer: max.bra <max dot bra at alice dot it>
pkgname=hub-young
pkgver=7.0.376
pkgrel=1
pkgdesc="La piattaforma facile, gratuita e innovativa per la didattica digitale."
arch=('x86_64')
url="https://www.hubscuola.it/download-app"
license=('unknown')
depends=('sdl2' 'unzip')
optdepends=(
'chromium: a modern browser for the application to work'
'firefox: a modern browser for the application to work'
'google-chrome: a modern browser for the application to work'
'evince: a pdf viewer'
'epdfview: a pdf viewer'
'qpdfview: a pdf viewer'
'mupdf: a pdf viewer'
)
options=(!strip)
_debname=HUB-Young.deb
source=(https://bce.mondadorieducation.it/media_educar/contenuti/appdilettura/younglinux.zip)
sha256sums=('bcd081714849bbb6c636ac10c8c81a55fc32135cceaba47d0a5fa8791529fca5')
prepare() {
cd "$srcdir"
msg2 "Decompressing Debian package..."
ar xv "${_debname}" > /dev/null
tar -xf data.tar.zst > /dev/null
#find ./{etc,usr} -type d -exec chmod 755 '{}' \;
find ./usr -type d -exec chmod 755 '{}' \;
chmod 755 ./usr/local/bin/hubyoung/hub-young-prod
}
package() {
cd "$srcdir"
#cp -dpr --no-preserve=ownership {opt,usr} "$pkgdir"
cp -dpr --no-preserve=ownership ./usr "$pkgdir"
}
|