1 # Maintainer: Joseph Graham (Greatest person ever) <joe at t67 dot eu>
2 # Contributor: Nathan Owe <ndowens.aur at gmail dot com>
6 pkgdesc="A command-line utility that reports when files have been altered. "
7 arch=('i686' 'x86_64' 'mips64el')
8 url="http://www.nongnu.org/fileschanged/"
11 makedepends=('moreutils')
12 options=('!emptydirs')
13 source=(http://nongnu.askapache.com/${pkgname}/${pkgname}-${pkgver}.tar.gz)
14 md5sums=('d2e6141196ac28be558011a3fe3e5555')
17 cd ${srcdir}/${pkgname}-${pkgver}
19 # -Werror flags are breaking the build so I remove them.
20 for line in $( grep -Rl Werror * )
22 sed 's/-Werror//g' "${line}" | sponge "${line}"
25 ./configure --prefix=/usr
27 make prefix=/usr bindir=${pkgdir}/usr/bin infodir=${pkgdir}/usr/share/info/${pkgname} mandir=${pkgdir}/usr/share/man datarootdir=${pkgdir}=/usr/share/${pkgname} install