# Maintainer: Natanael Copa setvar pkgname = 'mxml' setvar pkgver = '2.10' setvar pkgrel = '0' setvar pkgdesc = ""small XML library that you can use to read and write XML files"" setvar url = ""http://www.msweet.org/projects.php?Z3"" setvar arch = ""all"" setvar license = ""LGPLv2"" setvar depends = """" setvar depends_dev = """" setvar makedepends = "$depends_dev" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""https://github.com/michaelrsweet/$pkgname/releases/download/release-$pkgver/$pkgname-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/mxml-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } proc package { cd $_builddir make BUILDROOT="$pkgdir" install || return 1 } setvar md5sums = ""8804c961a24500a95690ef287d150abe mxml-2.10.tar.gz"" setvar sha256sums = ""267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891 mxml-2.10.tar.gz"" setvar sha512sums = ""c3838611979c4228df476166e4e987fc1ff8f9b8bd30139066b475dcd99e25be81ecc5171235bc80b1c2291c9d78c9ceae9a1dfc928272a983740d6a67372f5c mxml-2.10.tar.gz""