summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b9da8c579e347368d23294829d7b6e61ef81fc04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Sibren Vasse <arch at sibrenvasse dot nl>
# Contributor: Julien Nicoulaud <julien.nicoulaud@gmail.com>
pkgname=python2-subliminal
pkgver=2.0.5
pkgrel=1
pkgdesc="Python module to parse metadata in video files."
arch=(any)
url="https://github.com/Diaoul/subliminal"
license=(LGPL)
depends=(python2)
makedepends=(python2-distribute)
conflicts=(${pkgname}-git)
source=("https://pypi.python.org/packages/source/s/subliminal/subliminal-${pkgver}.tar.gz")
sha512sums=('56bc0e87496d5bc361430c4ee396b20374da697014203bdc4dda12341918e67c98aec579e44bd467898dbbf11f31e9de47ece17a0d78339f2bc700e3e6c8dd40')

package() {
  cd "${srcdir}/subliminal-${pkgver}"
  python2 setup.py install --root="${pkgdir}/" --optimize=1
  mv "${pkgdir}/usr/bin/subliminal" "${pkgdir}/usr/bin/python2-subliminal"
}