Browse Source

[trunk] -> [extra] 'libxml++-3.2.3-1' add

master
Dudemanguy 6 months ago
parent
commit
d645cb91d8
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 13
      libxml++/trunk/PKGBUILD
  2. 13
      libxml++/x86_64/extra/PKGBUILD

13
libxml++/trunk/PKGBUILD

@ -3,16 +3,16 @@
pkgbase=libxml++
pkgname=(libxml++ libxml++-docs)
pkgver=3.2.2
pkgver=3.2.3
pkgrel=1
pkgdesc="C++ bindings to libxml2"
url="https://libxmlplusplus.github.io/libxmlplusplus/"
arch=(x86_64)
license=(LGPL)
depends=(libxml2 glibmm)
makedepends=(glibmm-docs git meson mm-common)
makedepends=(git meson mm-common glibmm-docs)
options=(!emptydirs)
_commit=ba03d1ea29c1b6a8757be9b56637f19d1385ad3e # tags/3.2.2^0
_commit=e844282958af940cf374302c22b369dbdaa1fcdd # tags/3.2.3^0
source=("git+https://github.com/libxmlplusplus/libxmlplusplus#commit=$_commit")
sha256sums=('SKIP')
@ -26,7 +26,7 @@ prepare() {
}
build() {
arch-meson libxmlplusplus build
arch-meson libxmlplusplus build -D maintainer-mode=true
meson compile -C build
}
@ -39,7 +39,7 @@ check() {
package_libxml++ () {
provides=(libxml++-3.0.so)
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
# Split -docs
mkdir -p docs/usr/share
@ -48,7 +48,8 @@ package_libxml++ () {
package_libxml++-docs() {
pkgdesc+=" (documentation)"
depends=(glibmm-docs)
depends=()
options=(!strip)
mv -t "$pkgdir" docs/*
}

13
libxml++/x86_64/extra/PKGBUILD

@ -3,16 +3,16 @@
pkgbase=libxml++
pkgname=(libxml++ libxml++-docs)
pkgver=3.2.2
pkgver=3.2.3
pkgrel=1
pkgdesc="C++ bindings to libxml2"
url="https://libxmlplusplus.github.io/libxmlplusplus/"
arch=(x86_64)
license=(LGPL)
depends=(libxml2 glibmm)
makedepends=(glibmm-docs git meson mm-common)
makedepends=(git meson mm-common glibmm-docs)
options=(!emptydirs)
_commit=ba03d1ea29c1b6a8757be9b56637f19d1385ad3e # tags/3.2.2^0
_commit=e844282958af940cf374302c22b369dbdaa1fcdd # tags/3.2.3^0
source=("git+https://github.com/libxmlplusplus/libxmlplusplus#commit=$_commit")
sha256sums=('SKIP')
@ -26,7 +26,7 @@ prepare() {
}
build() {
arch-meson libxmlplusplus build
arch-meson libxmlplusplus build -D maintainer-mode=true
meson compile -C build
}
@ -39,7 +39,7 @@ check() {
package_libxml++ () {
provides=(libxml++-3.0.so)
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
# Split -docs
mkdir -p docs/usr/share
@ -48,7 +48,8 @@ package_libxml++ () {
package_libxml++-docs() {
pkgdesc+=" (documentation)"
depends=(glibmm-docs)
depends=()
options=(!strip)
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save