diff options
author | Paul Seyfert | 2020-12-04 20:21:26 +0100 |
---|---|---|
committer | Paul Seyfert | 2020-12-04 20:23:43 +0100 |
commit | 8627d07a69a2ae27276f68b4bfb8ee4e7e0f3e40 (patch) | |
tree | 39309294e35d6cb4d3f8c7f45262704a1ee90829 | |
download | aur-8627d07a69a2ae27276f68b4bfb8ee4e7e0f3e40.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cf4fded7f543 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-tilemapbase-git + pkgdesc = Use OpenStreetMap tiles as basemaps in python / matplotlib + pkgver = r55.85665c2 + pkgrel = 1 + url = https://github.com/MatthewDaws/TileMapBase + arch = any + license = MIT + depends = python-requests + depends = python-pillow + optdepends = python-pyproj + source = git+https://github.com/MatthewDaws/TileMapBase.git + sha256sums = SKIP + +pkgname = python-tilemapbase-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..31b19a5ca019 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Paul Seyfert <pseyfert.mathphys@gmail.com> + +pkgname=python-tilemapbase-git +pkgver=r55.85665c2 +pkgrel=1 +pkgdesc="Use OpenStreetMap tiles as basemaps in python / matplotlib" +arch=(any) +url="https://github.com/MatthewDaws/TileMapBase" +license=('MIT') +depends=('python-requests' 'python-pillow') +optdepends=('python-pyproj') +source=(git+https://github.com/MatthewDaws/TileMapBase.git) +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}"/TileMapBase || exit + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/TileMapBase" + python setup.py install --root="$pkgdir/" --optimize=1 +} |