blob: 5abd125c78c636e45d2b1dfa9aa43e8fb430bb46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# PKGBUILD generated by pipman
pkgname=python-opensubtitlescom
pkgver=0.1.4
pkgrel=1
pkgdesc="OpenSubtitles.com new REST API"
arch=(any)
url=""
license=(The MIT License)
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="opensubtitlescom" opensubtitlescom==0.1.4
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/opensubtitlescom/* $pkgdir/"$sitepackages"
}
|