summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjerry732042019-05-15 06:45:25 +0800
committerjerry732042020-12-08 06:10:02 +0800
commit78f82f86eef10db5ab0998605d12dfe4965448c7 (patch)
treedbd707a8af3e5fa1acb3784175a3a1761f920ddf
parent7f773ca8f720be9120391b45997f62c0c6887ccb (diff)
downloadaur-python-mapbox-vector-tile.tar.gz
Specify source name and bump to 1.2.0-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 94afd7c8ee47..1e3f312837c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 412126ca7ba6..9d46cdbaa242 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"