2014-06-28 23:20:47 +08:00
|
|
|
# maintainer : AlmAck <almack[at]chakraos[dog]org>
|
2010-03-13 23:54:19 +08:00
|
|
|
|
|
|
|
pkgname=libxml2
|
2015-12-06 18:41:18 +08:00
|
|
|
pkgver=2.9.3
|
|
|
|
pkgrel=1
|
2010-03-13 23:54:19 +08:00
|
|
|
pkgdesc="XML parsing library, version 2"
|
2014-06-28 23:20:47 +08:00
|
|
|
arch=('x86_64')
|
2010-03-13 23:54:19 +08:00
|
|
|
license=('custom')
|
2014-06-28 23:20:47 +08:00
|
|
|
depends=('zlib' 'readline' 'ncurses' 'xz')
|
2010-12-19 05:51:40 +08:00
|
|
|
makedepends=('python2')
|
2010-03-13 23:54:19 +08:00
|
|
|
url="http://www.xmlsoft.org/"
|
2014-06-28 23:20:47 +08:00
|
|
|
source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
2015-12-06 18:41:18 +08:00
|
|
|
md5sums=('daece17e045f1c107610e137ab50c179')
|
2010-03-13 23:54:19 +08:00
|
|
|
|
|
|
|
build() {
|
2014-06-28 23:20:47 +08:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
|
2011-01-16 06:40:12 +08:00
|
|
|
./configure --prefix=/usr --with-threads --with-history \
|
2014-06-28 23:20:47 +08:00
|
|
|
--with-python=/usr/bin/python2
|
2011-01-16 06:40:12 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-06-28 23:20:47 +08:00
|
|
|
cd "${pkgname}-${pkgver}"
|
2011-01-16 06:40:12 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
2010-03-13 23:54:19 +08:00
|
|
|
}
|