summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO30
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD37
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a31a06aa2f1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = subliminal
+ pkgdesc = Python library and CLI tool for searching and downloading subtitles.
+ pkgver = 2.0.5
+ pkgrel = 1
+ url = https://github.com/Diaoul/subliminal
+ arch = any
+ license = MIT
+ makedepends = git
+ makedepends = python-setuptools
+ depends = python-guessit>2.0.1
+ depends = python-babelfish>=0.5.2
+ depends = python-enzyme>=0.4.1
+ depends = python-beautifulsoup4>=4.2.0
+ depends = python-requests>=2.0
+ depends = python-click>=4.0
+ depends = python-dogpile.cache>=0.6.0
+ depends = python-stevedore>=1.0.0
+ depends = python-chardet>=2.3.0
+ depends = python-pysrt>=1.0.1
+ depends = python-six>=1.9.0
+ depends = python-appdirs>=1.3
+ depends = python-rarfile>=2.7
+ depends = python-pytz>=2012c
+ provides = subliminal-git
+ conflicts = subliminal-git
+ source = https://files.pythonhosted.org/packages/source/s/subliminal/subliminal-2.0.5.tar.gz
+ md5sums = 77064c09b82609cdeac75df1cd9a55b2
+
+pkgname = subliminal
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..72a3ed3fe6e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tar*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d170002a8d9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
+pkgname=subliminal
+pkgver=2.0.5
+pkgrel=1
+pkgdesc="Python library and CLI tool for searching and downloading subtitles."
+arch=(any)
+url="https://github.com/Diaoul/subliminal"
+license=('MIT')
+depends=('python-guessit>2.0.1'
+ 'python-babelfish>=0.5.2'
+ 'python-enzyme>=0.4.1'
+ 'python-beautifulsoup4>=4.2.0'
+ 'python-requests>=2.0'
+ 'python-click>=4.0'
+ 'python-dogpile.cache>=0.6.0'
+ 'python-stevedore>=1.0.0'
+ 'python-chardet>=2.3.0'
+ 'python-pysrt>=1.0.1'
+ 'python-six>=1.9.0'
+ 'python-appdirs>=1.3'
+ 'python-rarfile>=2.7'
+ 'python-pytz>=2012c')
+makedepends=('git'
+ 'python-setuptools')
+provides=('subliminal-git')
+conflicts=('subliminal-git')
+source=("https://files.pythonhosted.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('77064c09b82609cdeac75df1cd9a55b2')
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -v -m755 -d "${pkgdir}/usr/share/licenses/subliminal"
+ install -v -m644 ./LICENSE "${pkgdir}/usr/share/licenses/subliminal/"
+}
+