summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelics@felics-tablet2016-09-04 15:07:00 +0200
committerfelics@felics-tablet2016-09-04 15:07:00 +0200
commit38f4a0a6739258ec826c9431ed98eba9b30f41ea (patch)
tree0d2182f5efbbf328a56707e729a34dafb0b62213
downloadaur-38f4a0a6739258ec826c9431ed98eba9b30f41ea.tar.gz
Inistial commit.
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD94
-rw-r--r--copying.txt1
-rw-r--r--installer_settings.inf6
4 files changed, 130 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..fb9c8bc343cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = idos-timetable-browser-license-installer-latest
+ pkgdesc = If you purchased IDOS for Windows by CHAPS, then this installs the license. You need to enter your ZIP-extraction-code and your setup-code during installation. Runs an interactive GUI software via wine during installation.
+ pkgver = 2016_7_1
+ pkgrel = 2
+ epoch = 0
+ url = http://www.chaps.cz/eng/download/idos-install/
+ arch = i686
+ arch = x86_64
+ groups = idos-timetable
+ license = custom
+ makedepends = unzip
+ makedepends = wine
+ depends = idos-timetable-browser
+ provides = idos-timetable-browser-license-installer=2016_7_1
+ provides = idos-timetable-browser-license=2016_7_1
+ provides = idos-for-windows=2016_7_1
+ conflicts = idos-timetable-browser-license-installer
+ replaces = idos-timetable-browser-license-installer<=2016_7_1
+ source = iwin.zip::ftp://ttakt.chaps.cz/TTAktual/Win/Zip/IWIN.ZIP
+ source = IDOS-Licence.pdf::http://chaps.cz/files/idos/IDOS-Licence.pdf
+ source = copying.txt
+ source = installer_settings.inf
+ sha256sums = SKIP
+ sha256sums = e904d167ccdcfb2743f4cfd596aaa9dce8b751fb5c8315b972b42b7cbb3189e6
+ sha256sums = 6382fff14035c4ec7387e7f0d20d7494e05da3d4c24155090fb39196fa944041
+ sha256sums = 1cdffacf6b199b9a16bb6fedd9a4e08f7e3f897bebb5d891b27601f400f5dffb
+
+pkgname = idos-timetable-browser-license-installer-latest
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..b00f231b5684
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,94 @@
+# Maintainer: dreieck
+
+_pkgname=idos-timetable-browser-license-installer
+pkgname="${_pkgname}-latest"
+epoch=0
+pkgver=2016_7_1
+pkgrel=2
+pkgdesc="If you purchased IDOS for Windows by CHAPS, then this installs the license. You need to enter your ZIP-extraction-code and your setup-code during installation. Runs an interactive GUI software via wine during installation."
+arch=('i686' 'x86_64')
+url="http://www.chaps.cz/eng/download/idos-install/"
+license=('custom')
+
+groups=(
+ "idos-timetable"
+ )
+
+depends=(
+ "idos-timetable-browser"
+)
+
+makedepends=(
+ "unzip"
+ "wine"
+)
+
+optdepends=()
+
+provides=(
+ "${_pkgname}=${pkgver}"
+ "idos-timetable-browser-license=${pkgver}"
+ "idos-for-windows=${pkgver}"
+)
+
+conflicts=("${_pkgname}")
+
+replaces=("${_pkgname}<=${pkgver}")
+
+
+source=(
+ "iwin.zip::ftp://ttakt.chaps.cz/TTAktual/Win/Zip/IWIN.ZIP"
+ "IDOS-Licence.pdf::http://chaps.cz/files/idos/IDOS-Licence.pdf"
+ "copying.txt"
+ "installer_settings.inf"
+)
+
+sha256sums=(
+ "SKIP"
+ "e904d167ccdcfb2743f4cfd596aaa9dce8b751fb5c8315b972b42b7cbb3189e6"
+ "6382fff14035c4ec7387e7f0d20d7494e05da3d4c24155090fb39196fa944041"
+ "1cdffacf6b199b9a16bb6fedd9a4e08f7e3f897bebb5d891b27601f400f5dffb"
+)
+
+
+pkgver() {
+ wget -nv -O- "http://www.chaps.cz/eng/download/idos-install/zip" | grep 'Update date\:' | cut -d, -f1 | sed -r 's|([0-9]+)\.([0-9]+)\.([0-9]+).|\n\3_\2_\1\n|g' | grep -E '^[0-9]+_[0-9]+_[0-9]+'
+}
+
+
+build() {
+ cd "${srcdir}"
+
+ _gui_inst="${srcdir}/IDOS"
+
+ msg ""
+ msg "== Important, please read. =="
+ msg ""
+ msg "Launching installer GUI."
+ msg "Please DO NOT CHANGE INSTALLATION DIRECTORY!"
+ msg ""
+ msg "If you purchased only a local license, not a network license,"
+ msg "please MAKE SURE that the wine-drive we are going to install to"
+ msg "is NOT A NETWORK DRIVE but a LOCAL HARDDISK. If necessary,"
+ msg "abort, run 'winecfg' to reconfigure, and then restart"
+ msg "installation."
+ msg ""
+ msg "Also, do not change the other settings during installation. Only"
+ msg "at the very end, you can uncheck to view the ReadMe.txt."
+ msg ""
+
+ wine "./Setup.exe" /LOADINF="installer_settings.inf" /DIR="${_gui_inst}"
+}
+
+
+package() {
+ _gui_inst="${srcdir}/IDOS"
+
+ _instdirbase='/opt/idos-timetable'
+ _instdir="${pkgdir}/${_instdirbase}"
+
+ install -D -m644 "${_gui_inst}/TT.ttk" "${_instdir}/TT.ttk"
+
+ install -D -m644 "${srcdir}/IDOS-Licence.pdf" "${pkgdir}/usr/share/licenses/${pkgname}/IDOS-Licence.pdf"
+ install -D -m644 "${srcdir}/copying.txt" "${pkgdir}/usr/share/licenses/${pkgname}/copying.txt"
+}
diff --git a/copying.txt b/copying.txt
new file mode 100644
index 000000000000..161524b9723b
--- /dev/null
+++ b/copying.txt
@@ -0,0 +1 @@
+This package provides a pesonal license file for customers who have purchased the product. The license file is generated after entering the personal registration code. This package may not be re-distributed and only be used by the qualified customer and according to the conditions under which he is allowed to use the licensed version of IDOS for Windows by CHAPS spol. s.r.o.
diff --git a/installer_settings.inf b/installer_settings.inf
new file mode 100644
index 000000000000..9171471e198c
--- /dev/null
+++ b/installer_settings.inf
@@ -0,0 +1,6 @@
+[Setup]
+Group=IDOS Komplet
+NoIcons=1
+SetupType=custom
+Components=programtt
+Tasks=