# Contributor: Michael Mason # Maintainer: Michael Mason setvar pkgname = 'antiword' setvar pkgver = '0.37' setvar pkgrel = '3' setvar pkgdesc = ""A free MS Word reader"" setvar url = ""http://www.winfield.demon.nl"" setvar arch = ""all"" setvar license = ""GPL2"" setvar depends = """" setvar makedepends = """" setvar install = """" setvar subpackages = """" setvar source = ""http://www.winfield.demon.nl/linux/$pkgname-$pkgver.tar.gz CVE-2014-8123.patch "" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir make || return 1 } proc package { cd $_builddir install -m755 -D "$srcdir"/"$pkgname-$pkgver"/$pkgname "$pkgdir"/usr/bin/$pkgname mkdir -p "$pkgdir"/usr/share/antiword install -m644 -D "$srcdir"/"$pkgname-$pkgver"/Resources/* "$pkgdir"/usr/share/antiword/ } setvar md5sums = ""f868e2a269edcbc06bf77e89a55898d1 antiword-0.37.tar.gz aab9daf729111a7737ae1fa117502b51 CVE-2014-8123.patch"" setvar sha256sums = ""8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac antiword-0.37.tar.gz a8f2472788251dbb441a7985932b804218e6f367f5fc2668c91eec0559213324 CVE-2014-8123.patch"" setvar sha512sums = ""6cd8fb9137238417544cf8754829a2d5296055d730ea62a8a025236baa79516190317d146401ff40cde73e1ee2c3c374a2ea01b2e5d24e149310bcabb8bfdce8 antiword-0.37.tar.gz 4e0714dc7b21ebd8e232656be576d05f0252bc0d7a7c10ec1511e479ef405a3627d4d14a08aac2c4481573654185492577f3376d3bc5ebf755e661a29c32a37c CVE-2014-8123.patch""