summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d170002a8d9317a735812cbbe1a2be0dd6c0c4d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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/"
}