diff options
author | jerry73204 | 2019-05-15 06:45:25 +0800 |
---|---|---|
committer | jerry73204 | 2020-12-08 06:10:02 +0800 |
commit | 78f82f86eef10db5ab0998605d12dfe4965448c7 (patch) | |
tree | dbd707a8af3e5fa1acb3784175a3a1761f920ddf | |
parent | 7f773ca8f720be9120391b45997f62c0c6887ccb (diff) | |
download | aur-python-mapbox-vector-tile.tar.gz |
Specify source name and bump to 1.2.0-2
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = python-mapbox-vector-tile pkgdesc = Python package for encoding & decoding Mapbox Vector Tiles pkgver = 1.2.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/tilezen/mapbox-vector-tile arch = any license = MIT @@ -10,7 +10,7 @@ pkgbase = python-mapbox-vector-tile depends = python-shapely depends = python-future depends = python-pyclipper - source = https://github.com/tilezen/mapbox-vector-tile/archive/v1.2.0.tar.gz + source = python-mapbox-vector-tile-1.2.0.tar.gz::https://github.com/tilezen/mapbox-vector-tile/archive/v1.2.0.tar.gz sha256sums = ec82ab629f82009155f485bec2a46a7d4f0b8ab01df4ff599cb71b030d463679 pkgname = python-mapbox-vector-tile @@ -2,7 +2,7 @@ pkgname='python-mapbox-vector-tile' pkgver=1.2.0 -pkgrel=1 +pkgrel=2 pkgdesc='Python package for encoding & decoding Mapbox Vector Tiles' arch=('any') url='https://github.com/tilezen/mapbox-vector-tile' @@ -12,7 +12,7 @@ depends=('python-protobuf' 'python-shapely' 'python-future' 'python-pyclipper') -source=("https://github.com/tilezen/mapbox-vector-tile/archive/v${pkgver}.tar.gz") +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tilezen/mapbox-vector-tile/archive/v${pkgver}.tar.gz") sha256sums=('ec82ab629f82009155f485bec2a46a7d4f0b8ab01df4ff599cb71b030d463679') build() { @@ -20,7 +20,7 @@ build() { python setup.py build } -package_python-mapbox-vector-tile() { +package() { cd "${srcdir}/mapbox-vector-tile-${pkgver}" python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1 install -D -m644 LICENSE* "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" |