core/libxml2/PKGBUILD

28 lines
676 B
Bash
Raw Normal View History

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
2014-06-28 23:20:47 +08:00
pkgver=2.9.1
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)
md5sums=('9c0cfef285d5c4a5c80d00904ddab380')
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
}