mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
28 lines
676 B
Bash
28 lines
676 B
Bash
# maintainer : AlmAck <almack[at]chakraos[dog]org>
|
|
|
|
pkgname=libxml2
|
|
pkgver=2.9.1
|
|
pkgrel=2
|
|
pkgdesc="XML parsing library, version 2"
|
|
arch=('x86_64')
|
|
license=('custom')
|
|
depends=('zlib' 'readline' 'ncurses' 'xz')
|
|
makedepends=('python2')
|
|
url="http://www.xmlsoft.org/"
|
|
source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('9c0cfef285d5c4a5c80d00904ddab380')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr --with-threads --with-history \
|
|
--with-python=/usr/bin/python2
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|