diff options
author | willemw12 | 2021-06-22 17:15:17 +0200 |
---|---|---|
committer | willemw12 | 2021-06-22 17:15:17 +0200 |
commit | 2a27bc0540a0d046377245105653926013b56cf6 (patch) | |
tree | 8ffdc994c5bb07b2e35ab4cbae3995616455a927 | |
parent | 77dacf65435326932a58bf18f5f4c6e3bb0e72b5 (diff) | |
download | aur-2a27bc0540a0d046377245105653926013b56cf6.tar.gz |
Change source URL from git:// to git+https://
Minor edits
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 10 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = python-tvdb_api-git pkgdesc = Easy to use interface to thetvdb.com - pkgver = 1.9.r25.g8f34a0d + pkgver = 3.1.r2.gd2705e6 pkgrel = 1 url = https://github.com/dbr/tvdb_api arch = any @@ -10,8 +10,7 @@ pkgbase = python-tvdb_api-git depends = python-requests-cache provides = python-tvdb_api conflicts = python-tvdb_api - source = python-tvdb_api::git://github.com/dbr/tvdb_api.git + source = python-tvdb_api-git::git+https://github.com/dbr/tvdb_api.git md5sums = SKIP pkgname = python-tvdb_api-git - @@ -1,9 +1,8 @@ # Maintainer: willemw <willemw12@gmail.com> # Contributor: Clément Démoulins <clement@archivel.fr> -_pkgname=python-tvdb_api -pkgname=$_pkgname-git -pkgver=1.9.r25.g8f34a0d +pkgname=python-tvdb_api-git +pkgver=3.1.r2.gd2705e6 pkgrel=1 pkgdesc="Easy to use interface to thetvdb.com" arch=('any') @@ -11,23 +10,23 @@ url="https://github.com/dbr/tvdb_api" license=('GPL') depends=('python-requests-cache') makedepends=('git' 'python-setuptools') -provides=($_pkgname) -conflicts=($_pkgname) -source=($_pkgname::git://github.com/dbr/tvdb_api.git) +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=($pkgname::git+$url.git) md5sums=('SKIP') pkgver() { - cd $_pkgname + cd $pkgname git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd $_pkgname + cd $pkgname python setup.py build } package() { - cd $_pkgname + cd $pkgname python setup.py install --root="$pkgdir/" --optimize=1 } |