iksemel 1.6.2-1

This commit is contained in:
xhaa123 2024-10-22 00:06:11 +08:00
parent f4fb290c72
commit 9733cf7d98

View File

@ -5,25 +5,31 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=iksemel
pkgver=1.6.1
pkgver=1.6.2
pkgrel=1
pkgdesc="Iksemel is a fast xml decoder API used by Jabber."
arch=('x86_64')
url="https://github.com/Zaryob/iksemel"
license=('LGPL-2.1-or-later')
depends=('python' 'openssl')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=(https://files.pythonhosted.org/packages/source/i/iksemel/${pkgname}-${pkgver}.tar.gz)
sha256sums=(73b039a1d51a61c592fefae62f3ecc9d74188b427453099ebbf312e69a433ef6)
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'meson')
source=(https://github.com/Zaryob/iksemel/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=(8055705c89df7fc0c64d7052188650dfdf3e049da8a7700f19240d8948ecb16c)
build() {
cd ${pkgname}-${pkgver}
python3 -m build --wheel --no-isolation
future-meson build \
--prefix /usr \
--buildtype=plain \
--libdir=/usr/lib64 \
-Dwith_python=true
meson compile -C build
}
package() {
cd ${pkgname}-${pkgver}
python3 -m installer --destdir=${pkgdir} dist/*.whl
meson install -C build --destdir ${pkgdir}
}