diff options
author | Donald Webster | 2018-06-15 08:54:04 -0700 |
---|---|---|
committer | Donald Webster | 2018-06-15 08:54:04 -0700 |
commit | 459020c1fda325becd04823a4aaba3d781340922 (patch) | |
tree | 5d5625e1e57fff0edf69384131721635cdcffec0 | |
download | aur-459020c1fda325becd04823a4aaba3d781340922.tar.gz |
Initial creation of package.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7c59aba92b42 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python2-subliminal + pkgdesc = Python module to parse metadata in video files. + pkgver = 2.0.5 + pkgrel = 1 + url = https://github.com/Diaoul/subliminal + arch = any + license = LGPL + makedepends = python2-distribute + depends = python2 + conflicts = python2-subliminal-git + source = https://pypi.python.org/packages/source/s/subliminal/subliminal-2.0.5.tar.gz + sha512sums = 56bc0e87496d5bc361430c4ee396b20374da697014203bdc4dda12341918e67c98aec579e44bd467898dbbf11f31e9de47ece17a0d78339f2bc700e3e6c8dd40 + +pkgname = python2-subliminal + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c621fb44820b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# 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 +} |