summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormax.bra2016-08-03 00:08:14 +0200
committermax.bra2016-08-03 00:08:14 +0200
commitb439594107310d5fc347ce4e1345ad6f69d24490 (patch)
tree2007b47f82873910cb685c0931b8c8517e8e5e37
parent2d4b40cc313a992c1d45dfb7435888b1fa5e64ab (diff)
downloadaur-b439594107310d5fc347ce4e1345ad6f69d24490.tar.gz
openjfx warning
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--filebot.install9
3 files changed, 13 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 51073cbf5ae3..b0e5dbedd66a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = filebot
pkgdesc = The ultimate tool to rename TV/anime shows, download subtitles, and validate checksums
pkgver = 4.7.1
- pkgrel = 1
+ pkgrel = 2
url = http://filebot.sourceforge.net/
+ install = filebot.install
arch = any
license = GPL
depends = java-runtime>=8
diff --git a/PKGBUILD b/PKGBUILD
index dbd5e1e2b5af..a1fa4413eeed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,11 +5,12 @@
pkgname=filebot
pkgver=4.7.1
-pkgrel=1
+pkgrel=2
pkgdesc="The ultimate tool to rename TV/anime shows, download subtitles, and validate checksums"
arch=('any')
url="http://filebot.sourceforge.net/"
license=('GPL')
+install=$pkgname.install
depends=('java-runtime>=8' 'fontconfig' 'chromaprint')
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/FileBot_$pkgver/FileBot_$pkgver-portable.zip
diff --git a/filebot.install b/filebot.install
new file mode 100644
index 000000000000..797d6542a276
--- /dev/null
+++ b/filebot.install
@@ -0,0 +1,9 @@
+post_install() {
+echo -e "\e[1;33m==>\e[0m if you use OpenJDK as your Java VM you \e[1;31mneed\e[0m to install OpenJFX also"
+echo -e "\e[1;33m==>\e[0m \e[1;36mhttps://wiki.archlinux.org/index.php/Java#OpenJFX\e[0m"
+}
+
+post_upgrade() {
+ post_install $1
+}
+