diff options
author | max.bra | 2018-09-26 18:47:50 +0200 |
---|---|---|
committer | max.bra | 2018-09-26 18:47:50 +0200 |
commit | b10ea160e15759db7d1cdf44a5ffde4c64fa296e (patch) | |
tree | 02a23d88a6be23bb1f6b24a399973f4e9ea2f10a /PKGBUILD | |
download | aur-b10ea160e15759db7d1cdf44a5ffde4c64fa296e.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..876b94b520f8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: max.bra <max dot bra at alice dot it> + +pkgname=hub-kids +pkgver=1.0 +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") +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=hubkids-1.0_amd64.deb + +source=(http://www.mondadorieducation.it/media/contenuti/appdilettura/kidslinux.zip) +md5sums=('4497dfe4b6e2516c11e3ae1480a01c25') + +prepare() { + cd "$srcdir" + msg2 "Decompressing Debian package..." + ar xv "${_debname}" > /dev/null + tar -xf data.tar.xz > /dev/null + + find ./{etc,usr} -type d -exec chmod 755 '{}' \; +} + +package() { + cd "$srcdir" + cp -dpr --no-preserve=ownership {opt,usr} "$pkgdir" +} |