[arch-commits] Commit in libxml++/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Mar 22 10:37:54 UTC 2020
Date: Sunday, March 22, 2020 @ 10:37:54
Author: arojas
Revision: 378307
Update to 3.2.0
Modified:
libxml++/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-22 10:24:55 UTC (rev 378306)
+++ PKGBUILD 2020-03-22 10:37:54 UTC (rev 378307)
@@ -2,29 +2,29 @@
pkgbase=libxml++
pkgname=('libxml++' 'libxml++-docs')
-pkgver=3.0.1+4+g2af973f
-pkgrel=3
+pkgver=3.2.0
+pkgrel=1
arch=('x86_64')
license=('LGPL')
url="http://libxmlplusplus.sourceforge.net/"
-makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm' git mm-common)
+makedepends=('glibmm-docs' 'libxml2' 'glibmm' 'git' 'mm-common')
options=('!emptydirs')
-_commit=2af973ff59b2151e0783bbe4155816ce88d0c8b0 # libxml++-3.0
-source=("git+https://git.gnome.org/browse/libxml++#commit=$_commit")
+_commit=50c5efe0bcce3fa5273afbc832b1424b352469c9 # 3.2.0
+source=("git+https://github.com/libxmlplusplus/libxmlplusplus#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
- cd $pkgbase
+ cd libxmlplusplus
git describe --tags | sed 's/-/+/g'
}
prepare() {
- cd $pkgbase
+ cd libxmlplusplus
NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd "${srcdir}/$pkgbase"
+ cd libxmlplusplus
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -32,7 +32,7 @@
}
check() {
- cd "${srcdir}/$pkgbase"
+ cd libxmlplusplus
make check
}
@@ -40,7 +40,7 @@
pkgdesc="C++ bindings to libxml2"
depends=('libxml2' 'glibmm')
- cd "${srcdir}/$pkgbase"
+ cd libxmlplusplus
make DESTDIR="${pkgdir}" install doc_subdirs=
}
@@ -47,6 +47,6 @@
package_libxml++-docs() {
pkgdesc="Developer documentation for libxml++"
depends=('glibmm-docs')
- cd "${srcdir}/$pkgbase"
+ cd libxmlplusplus
make DESTDIR="${pkgdir}" -C docs install
}
More information about the arch-commits
mailing list