diff options
| author | Götz Christ | 2022-03-07 09:52:50 -0500 |
|---|---|---|
| committer | Götz Christ | 2022-03-07 09:53:19 -0500 |
| commit | 158e98c9575995ba75527405bceb66de5b3abdcf (patch) | |
| tree | 32e30598cf28d42665d24d5721c951f6d6a3fa10 | |
| parent | 3fe4e9a4995ee4c6a755527af70a58a33a5230e4 (diff) | |
Remove files conflicting with libxml2 package
Update homepage URL
| -rw-r--r-- | .SRCINFO | 4 | ||||
| -rw-r--r-- | PKGBUILD | 15 |
2 files changed, 12 insertions, 7 deletions
@@ -1,8 +1,8 @@ pkgbase = python2-libxml2 pkgdesc = XML parsing library, version 2 pkgver = 2.9.13 - pkgrel = 1 - url = http://www.xmlsoft.org/ + pkgrel = 2 + url = https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home arch = aarch64 arch = i686 arch = pentium4 @@ -8,9 +8,9 @@ _pkgname=libxml2 pkgname=python2-$_pkgname pkgver=2.9.13 -pkgrel=1 +pkgrel=2 pkgdesc='XML parsing library, version 2' -url='http://www.xmlsoft.org/' +url='https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home' arch=(aarch64 i686 pentium4 x86_64) license=(MIT) depends=(zlib readline ncurses xz icu) @@ -71,20 +71,25 @@ check() { package() { make -C build DESTDIR="$pkgdir" install - + python2 -m compileall -d /usr/lib "$pkgdir/usr/lib" - python2 -O -m compileall -d /usr/lib "$pkgdir/usr/lib" + python2 -O -m compileall -d /usr/lib "$pkgdir/usr/lib" install -Dm 644 build/COPYING -t "$pkgdir/usr/share/licenses/$pkgname" rm -rf "${pkgdir}/usr/bin/" rm -rf "${pkgdir}/usr/bin/" + rm -rf "${pkgdir}/usr/include/libxml2/libxml" rm -rf "${pkgdir}/usr/lib/cmake" rm -rf "${pkgdir}/usr/lib/libxml2"* rm -rf "${pkgdir}/usr/lib/pkgconfig" rm -rf "${pkgdir}/usr/lib/xml2Conf.sh" rm -rf "${pkgdir}/usr/share/aclocal" - rm -rf "${pkgdir}/usr/include/libxml2/libxml" + rm -rf "${pkgdir}/usr/share/doc/libxml2" + rm -rf "${pkgdir}/usr/share/doc/libxml2-python-${pkgver}" + rm -rf "${pkgdir}/usr/share/gtk-doc/html/libxml2" + rm -rf "${pkgdir}/usr/share/man/man1" + rm -rf "${pkgdir}/usr/share/man/man3" } # vim: ts=2 sw=2 et: |
