summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 37 insertions, 0 deletions
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/"
+}
+