From b282b0018dc9bc3d54ebcb1f8bd83e78d09bda2f Mon Sep 17 00:00:00 2001 From: "max.bra" Date: Mon, 8 Jun 2015 12:11:37 +0200 Subject: [PATCH] Initial import --- .SRCINFO | 23 +++++++++++++++++ PKGBUILD | 34 +++++++++++++++++++++++++ filebot-arch.sh | 3 +++ filebot.desktop | 8 ++++++ filebot.svg | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 136 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 filebot-arch.sh create mode 100644 filebot.desktop create mode 100644 filebot.svg diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bda1d359ae71 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = filebot + pkgdesc = The ultimate tool to rename TV/anime shows, download subtitles, and validate checksums + pkgver = 4.6 + pkgrel = 1 + url = http://filebot.sourceforge.net/ + arch = any + license = GPL + depends = java-runtime>=8 + depends = fontconfig + optdepends = libzen: Support for additional subtitle search engines (Sublight) + optdepends = libmediainfo: Episode naming / Sublight usage + optdepends = java-p7zip-binding: Extract archives + source = http://downloads.sourceforge.net/project/filebot/filebot/FileBot_4.6/FileBot_4.6-portable.zip + source = filebot-arch.sh + source = filebot.svg + source = filebot.desktop + md5sums = 4533ee65aae5adbb7f5840be08c042a5 + md5sums = 1d5dcc2c4a045830e59c705e29c99d18 + md5sums = 04f46be047049448dba3f0de29fe192d + md5sums = f37edd0bba7570904d28ab1681c7a7f3 + +pkgname = filebot + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4ef0fb772018 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: max.bra +# Contributor: said +# Contributor: Kaurin +# Contributor: Nathan Owe + +pkgname=filebot +pkgver=4.6 +pkgrel=1 +pkgdesc="The ultimate tool to rename TV/anime shows, download subtitles, and validate checksums" +arch=('any') +url="http://filebot.sourceforge.net/" +license=('GPL') + +depends=('java-runtime>=8' 'fontconfig') +source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/FileBot_$pkgver/FileBot_$pkgver-portable.zip + $pkgname-arch.sh $pkgname.svg $pkgname.desktop) +md5sums=('4533ee65aae5adbb7f5840be08c042a5' + '1d5dcc2c4a045830e59c705e29c99d18' + '04f46be047049448dba3f0de29fe192d' + 'f37edd0bba7570904d28ab1681c7a7f3') +#noextract=(FileBot_$pkgver.jar) +optdepends=('libzen: Support for additional subtitle search engines (Sublight)' 'libmediainfo: Episode naming / Sublight usage' 'java-p7zip-binding: Extract archives') + +build() { + /bin/true +} + +package() { + cd "$srcdir" + install -Dm644 FileBot.jar "$pkgdir/usr/share/java/$pkgname/$pkgname.jar" + install -Dm755 $pkgname-arch.sh "$pkgdir/usr/bin/$pkgname" + install -Dm644 $pkgname.svg "$pkgdir/usr/share/pixmaps/$pkgname.svg" + install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" +} diff --git a/filebot-arch.sh b/filebot-arch.sh new file mode 100644 index 000000000000..322c25d9e76c --- /dev/null +++ b/filebot-arch.sh @@ -0,0 +1,3 @@ +#!/bin/bash +java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Dfile.encoding=UTF-8 -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=aur -Dapplication.update=skip -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/usr/share/java/filebot -Djava.library.path=/usr/share/java/filebot -jar /usr/share/java/filebot/filebot.jar "$@" + diff --git a/filebot.desktop b/filebot.desktop new file mode 100644 index 000000000000..00188b796530 --- /dev/null +++ b/filebot.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Filebot +Comment=TV renamer/subtitle downloader/sfv validator +Exec=filebot +Icon=filebot +Categories=AudioVideo; diff --git a/filebot.svg b/filebot.svg new file mode 100644 index 000000000000..13cc2377d559 --- /dev/null +++ b/filebot.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +