From b4714dcfc67c9da7ab3540fd0308595f3910cf3f Mon Sep 17 00:00:00 2001 From: aliriza Date: Mon, 14 Nov 2022 14:25:08 +0000 Subject: [PATCH] libxml2 --- system/extra/libxml2/ympbuild | 37 +++++++++++++++++++++++++++++++++++ system/extra/nghttp2/ympbuild | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 system/extra/libxml2/ympbuild diff --git a/system/extra/libxml2/ympbuild b/system/extra/libxml2/ympbuild new file mode 100644 index 00000000..ea752210 --- /dev/null +++ b/system/extra/libxml2/ympbuild @@ -0,0 +1,37 @@ +#!/usr/bin/env bash +name='libxml2' +release='1' +version='2.10.3' +url='https://gitlab.gnome.org/GNOME/libxml2' +description='XML parser and toolkit' +email=' aliriza.keskin@pardus.org.tr' +maintainer=' aliriza' +license=('GPLv3') +source=("https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.10.3/libxml2-v${version}.tar.gz") +depends=() +makedepends=() +md5sums=('4a8bc66943dd13f7ff2ee8816b808969') +uses=(python) +python_depends=(python) +arch=('x86_64') +group=(system.extra python) + +cd $name-v$version + +setup(){ + set -ex + ./autogen.sh + ./configure --prefix=/usr \ + --with-history \ + --libdir=/usr/lib64 \ + $(use_opt python --with-python --without-python) +} + +build(){ + make -j`nproc` +} + +package(){ + make install -j`nproc` +} + diff --git a/system/extra/nghttp2/ympbuild b/system/extra/nghttp2/ympbuild index a5b1d762..2cb149ee 100644 --- a/system/extra/nghttp2/ympbuild +++ b/system/extra/nghttp2/ympbuild @@ -7,7 +7,7 @@ description='Package description missing' email=' aliriza.keskin@pardus.org.tr' maintainer=' aliriza' license=('MIT') -source=('https://github.com/nghttp2/nghttp2/releases/download/v1.51.0/nghttp2-1.51.0.tar.gz') +source=("https://github.com/nghttp2/nghttp2/releases/download/v1.51.0/nghttp2-${version}.tar.gz") depends=( ) makedepends=( ) md5sums=('d8c534bbdd84297afa4f6576896a3d76')