Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ pkgname=(
libxml2
libxml2-docs
)
pkgver=2.14.5
# TODO: Re-enable docs (requiring Doxygen)
pkgver=2.15.0
pkgrel=1
pkgdesc="XML parsing library, version 2"
arch=(x86_64 aarch64 riscv64 loongarch64)
Expand All @@ -14,7 +15,7 @@ depends=('zlib' 'ncurses' 'xz')
makedepends=('python')
url="http://www.xmlsoft.org/"
source=(https://download.gnome.org/sources/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver}.tar.xz)
sha256sums=('03d006f3537616833c16c53addcdc32a0eb20e55443cba4038307e3fa7d8d44b')
sha256sums=('5abc766497c5b1d6d99231f662e30c99402a90d03b06c67b62d6c1179dedd561')

build()
{
Expand All @@ -25,7 +26,6 @@ build()
--sysconfdir=/etc \
--with-threads \
--with-zlib \
--with-lzma \
--with-http \
--with-history \
--with-python=/usr/bin/python
Expand All @@ -45,13 +45,13 @@ package_libxml2()
cd ${pkgbase}-${pkgver}
make DESTDIR="${pkgdir}" install

mkdir -p ../doc/usr/share
mv "$pkgdir"/usr/share/{doc,gtk-doc} -t ../doc/usr/share
# mkdir -p ../doc/usr/share
# mv "$pkgdir"/usr/share/{doc,gtk-doc} -t ../doc/usr/share
}

package_libxml2-docs() {
pkgdesc+=" (documentation)"
depends=()

mv doc/* "$pkgdir"
# mv doc/* "$pkgdir"
}