iksemel 1.6.1-1
This commit is contained in:
parent
1dda0f2258
commit
f4fb290c72
16
PKGBUILD
16
PKGBUILD
@ -12,24 +12,18 @@ arch=('x86_64')
|
||||
url="https://github.com/Zaryob/iksemel"
|
||||
license=('LGPL-2.1-or-later')
|
||||
depends=('python' 'openssl')
|
||||
makedepends=('meson')
|
||||
source=(https://github.com/Zaryob/iksemel/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=(c4a20e23020760a49d470571fc3e3d5bbe0096324cf07b2fd4c724496ca12c8d)
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
|
||||
source=(https://files.pythonhosted.org/packages/source/i/iksemel/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=(73b039a1d51a61c592fefae62f3ecc9d74188b427453099ebbf312e69a433ef6)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
meson setup build \
|
||||
--prefix=/usr \
|
||||
--buildtype=release \
|
||||
-Dwith_python=true \
|
||||
-Dopenssl=enabled
|
||||
|
||||
meson compile -C build
|
||||
python3 -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
meson install -C build --destdir ${pkgdir}
|
||||
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user