summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormax.bra2018-09-26 18:47:50 +0200
committermax.bra2018-09-26 18:47:50 +0200
commitb10ea160e15759db7d1cdf44a5ffde4c64fa296e (patch)
tree02a23d88a6be23bb1f6b24a399973f4e9ea2f10a
downloadaur-b10ea160e15759db7d1cdf44a5ffde4c64fa296e.tar.gz
first commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD39
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..264852e3876
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = hub-kids
+ pkgdesc = La piattaforma facile, gratuita e innovativa per la didattica digitale.
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://www.hubscuola.it/download-app
+ arch = x86_64
+ license = unknown
+ depends = sdl2
+ optdepends = chromium: a modern browser for the application to work
+ optdepends = firefox: a modern browser for the application to work
+ optdepends = google-chrome: a modern browser for the application to work
+ optdepends = evince: a pdf viewer
+ optdepends = epdfview: a pdf viewer
+ optdepends = qpdfview: a pdf viewer
+ optdepends = mupdf: a pdf viewer
+ options = !strip
+ source = http://www.mondadorieducation.it/media/contenuti/appdilettura/kidslinux.zip
+ md5sums = 4497dfe4b6e2516c11e3ae1480a01c25
+
+pkgname = hub-kids
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..876b94b520f
--- /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"
+}