summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGroctel2021-11-05 14:45:38 +0100
committerGroctel2021-11-05 14:45:38 +0100
commitf57524a54e5b22db60a45e4bac45d3a707b8ddf8 (patch)
treef2fdf2ba2423c2a0bcef9ac9a8eb26e742e9608b /PKGBUILD
parentd860a4b3bdc8b842d2f22be1f75b507b28a9f8fb (diff)
downloadaur-python-mapbox-earcut.tar.gz
Updated to 1.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2f4f0804431..1c600019f47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_name=mapbox_earcut_python
pkgname=python-mapbox-earcut
-pkgver=0.12.10
-pkgrel=2
+pkgver=1.0.0
+pkgrel=1
pkgdesc="Python bindings for the C++ implementation of the Mapbox Earcut library."
arch=('any')
@@ -12,7 +12,7 @@ license=('custom')
url="https://github.com/skogler/mapbox_earcut_python"
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
-sha512sums=('e7f5a174dfdee121737004240ca55dba5abc3466b5ef158411ad54955074fbab756cb0b468a2d6377b9aa8b990522ce47c1bfdf1eb611e55f8efcd3909c37424')
+sha512sums=('8f3687ac11497ad73c2a3dd1d1203dccf655da623d1638e638978a59388e0c057ca6f895782b609d59a2a4be478d6daf2294523a946c8a5d232dcfe718e4eec9')
depends=('python')
makedepends=(
@@ -27,8 +27,6 @@ prepare ()
{
cd "$srcdir/$_name-$pkgver"
git clone https://github.com/pybind/pybind11
- sed -i 's/add_subdirectory(pybind11)/find_package(pybind11 CONFIG)/' CMakeLists.txt
- (echo "#include <limits>"; cat include/mapbox/earcut.hpp) > tmp && mv tmp include/mapbox/earcut.hpp
}
build ()