1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="A cross-platform, open-source thesaurus"
8 url="http://aiksaurus.sourceforge.net/"
12 source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
14 format-security.patch)
15 sha512sums=('48591850f28f1a8f4b4986df14090ef7bd57cbfbad739cb0013db021f6f5bcb3c592b38e36774735499e27b9e99330504f8d9c6022158e25469cbc81d13f7463'
16 '66db53f7499425eb1ff572df4a674f378ed681edeb48ea5926b21d39c8a399c36740e03de101e23a47e043fcce29f66a03c64dc813dc5beda1043d0057711fa5'
17 '72ebdc63cbb2c56bd8274f92501cbbae8c66e7d81b11b8fdeda38149da4bf44ab88699d248093eedc9813f6cd60e2a1f360fb39d778b4b7827777b1d003ab1dc')
21 patch -p1 < ../format-security.patch
22 patch -p0 < ../aiksaurus-gcc44.patch
26 cd ${pkgname}-${pkgver}
28 export CXXFLAGS+=' -std=c++14'
29 ./configure --prefix=/usr
34 cd ${pkgname}-${pkgver}
35 make DESTDIR="${pkgdir}" install