iksemel 1.6.1-1

This commit is contained in:
futurelinux 2024-08-17 00:19:04 +08:00
commit 1dda0f2258

35
PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=iksemel
pkgver=1.6.1
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=('meson')
source=(https://github.com/Zaryob/iksemel/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=(c4a20e23020760a49d470571fc3e3d5bbe0096324cf07b2fd4c724496ca12c8d)
build() {
cd ${pkgname}-${pkgver}
meson setup build \
--prefix=/usr \
--buildtype=release \
-Dwith_python=true \
-Dopenssl=enabled
meson compile -C build
}
package() {
cd ${pkgname}-${pkgver}
meson install -C build --destdir ${pkgdir}
}