Date: Tuesday, December 19, 2017 @ 19:32:10 Author: dvzrv Revision: 274914
upgpkg: mxml 2.11-1 Updating maintainer. Upgrading to 2.11. Switching to github for source. Switching to sha512sums. Adding zlib as depends. Removing unneeded things. Minor fixes. Modified: mxml/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-12-19 19:31:01 UTC (rev 274913) +++ PKGBUILD 2017-12-19 19:32:10 UTC (rev 274914) @@ -1,27 +1,27 @@ # $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: David Runge <d...@sleepmap.de> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> # Contributor: Roman Kyrylych <ro...@archlinux.org> # Contributor: Johannes Sjolund <j.sjol...@gmail.com> pkgname=mxml -pkgver=2.10 +pkgver=2.11 pkgrel=1 pkgdesc="A small XML parsing library" arch=('x86_64') url="http://www.minixml.org/" license=('LGPL') -source=("https://www.msweet.org/files/project3/$pkgname-$pkgver.tar.gz") -sha256sums=('267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891') +depends=('zlib') +source=("https://github.com/michaelrsweet/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('1cb60f6e56dfda9a1f1ac0c39493da411dc671976469afe80995b996cb501ed692027bac37103f8ae5aa196e78896094ef43eb3113b722a5b33a5ae025f21854') build() { - cd "$srcdir/$pkgname-$pkgver" -# [ "$CARCH" = x86_64 ] && export CFLAGS="$CFLAGS -fPIC" + cd "${pkgname}-${pkgver}" ./configure --prefix=/usr --enable-shared make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DSTROOT="$pkgdir" install - chmod -x "$pkgdir/usr/lib/libmxml.a" + cd "${pkgname}-${pkgver}" + make DSTROOT="${pkgdir}" install }