diff options
author | LinArcX | 2017-03-24 01:00:31 +0430 |
---|---|---|
committer | LinArcX | 2017-03-24 01:00:31 +0430 |
commit | b1e83b12b9669c6c1d0a9ad1070c1ab5e782eb12 (patch) | |
tree | 4992a845be06eabe9774a2fb51417425c71639a5 | |
parent | 0c406883500cbedd6184be0d6f8487d861eb49c1 (diff) | |
download | aur-b1e83b12b9669c6c1d0a9ad1070c1ab5e782eb12.tar.gz |
add_Version3_TVDB_Api
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -17,6 +17,17 @@ md5sums=('SKIP') prepare(){ cd "${srcdir}/${pkgname}" + # install python-requests-cache + wget https://aur.archlinux.org/cgit/aur.git/snapshot/python-requests-cache.tar.gz + tar xvzf python-requests-cache.tar.gz + cd python-requests-cache + makepkg -f + echo "installing python-requests-cache from Aur." + requests_pkgver_3=$(grep -Po 'pkgver=\K[^ ]+' PKGBUILD) + requests_pkgrel_3=$(grep -Po 'pkgrel=\K[^ ]+' PKGBUILD) + requests_arch_3=$(grep -Po 'arch=\K[^ ]+' PKGBUILD | cut -d "(" -f2 | cut -d "'" -f2) + sudo pacman -U python-requests-cache-${requests_pkgver_3}-${requests_pkgrel_3}-${requests_arch_3}.pkg.tar.xz + # install tvdb_api (V2) wget https://aur.archlinux.org/cgit/aur.git/snapshot/tvdb_api-git.tar.gz tar xvzf tvdb_api-git.tar.gz |