diff options
author | LinArcX | 2017-03-24 17:24:06 +0430 |
---|---|---|
committer | LinArcX | 2017-03-24 17:24:06 +0430 |
commit | 68bba684b8bf27de8ab6fde429a5e50295f588ee (patch) | |
tree | 292e973ef26f80dcf4b19632a0b218b67c1a746e | |
parent | 8a317146f0d1ac58b79d4b057c3d9f3c26e1c12c (diff) | |
download | aur-68bba684b8bf27de8ab6fde429a5e50295f588ee.tar.gz |
moreReadable-delete prepare function
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 0 insertions, 37 deletions
@@ -14,43 +14,6 @@ conflicts=("${pkgname}") source=("${pkgname}::git+https://github.com/LinArcX/tvdoon") md5sums=('SKIP') -# prepare(){ -# cd "${srcdir}/${pkgname}" - -# # install requests-cache(V2 and V3) -# 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." -# rc_pkgver=$(grep -Po 'pkgver=\K[^ ]+' PKGBUILD) -# rc_pkgrel=$(grep -Po 'pkgrel=\K[^ ]+' PKGBUILD) -# rc_arch=$(grep -Po 'arch=\K[^ ]+' PKGBUILD | cut -d "(" -f2 | cut -d "'" -f2) -# sudo pacman -U python-requests-cache-${rc_pkgver}-${rc_pkgrel}-${rc_arch}.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 -# cd tvdb_api-git -# makepkg -f -# echo "installing tvdb_api-git(V2) from Aur." -# tvdb_pkgver_2=$(grep -Po 'pkgver=\K[^ ]+' PKGBUILD) -# tvdb_pkgrel_2=$(grep -Po 'pkgrel=\K[^ ]+' PKGBUILD) -# tvdb_arch_2=$(grep -Po 'arch=\K[^ ]+' PKGBUILD | cut -d "(" -f2 | cut -d "'" -f2) -# sudo pacman -U tvdb_api-git-${tvdb_pkgver_2}-${tvdb_pkgrel_2}-${tvdb_arch_2}.pkg.tar.xz - -# # install tvdb_api (V3) -# wget https://aur.archlinux.org/cgit/aur.git/snapshot/tvdb3_api-git.tar.gz -# tar xvzf tvdb3_api-git.tar.gz -# cd tvdb3_api-git -# makepkg -f -# echo "installing tvdb_api-git(V3) from Aur." -# tvdb_pkgver_3=$(grep -Po 'pkgver=\K[^ ]+' PKGBUILD) -# tvdb_pkgrel_3=$(grep -Po 'pkgrel=\K[^ ]+' PKGBUILD) -# tvdb_arch_3=$(grep -Po 'arch=\K[^ ]+' PKGBUILD | cut -d "(" -f2 | cut -d "'" -f2) -# sudo pacman -U tvdb3_api-git-${tvdb_pkgver_3}-${tvdb_pkgrel_3}-${tvdb_arch_3}.pkg.tar.xz -# } - pkgver() { cd "$srcdir/${pkgname}" ( set -o pipefail |