1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Arjan Timmerman <arjan@soufly.nl>
3 # Contributor: Tor Krill
8 pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text"
10 url="https://www.gnu.org/software/autogen/"
12 depends=('guile' 'libxml2' 'perl')
13 makedepends=('autogen' 'chrpath')
14 source=(https://ftp.gnu.org/gnu/${pkgname}/rel${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig})
15 validpgpkeys=('44A088E295C3A722C450590EC9EF76DEB74EE762'
16 '3EEE51D1355B8EC40D9F3122495143D05D0712D1') # Bruce Korb <bkorb@gnu.org>
17 sha512sums=('5f12c982dbe27873f5649a96049bf019ff183c90cc0c8a9196556b0ca02e72940cd422f6d6601f68cc7d8763b1124f2765c3b1a6335fc92ba07f84b03d2a53a1'
22 sed -i 's/ -Werror / /' configure
26 cd "${srcdir}/${pkgname}-${pkgver}"
27 ./configure --prefix=/usr
28 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
33 cd "${srcdir}/${pkgname}-${pkgver}"
38 cd "${srcdir}/${pkgname}-${pkgver}"
39 make DESTDIR="${pkgdir}" install
41 # Remove unrequired RPATH from binaries
42 for i in ${pkgdir}/usr/bin/*; do
43 if chrpath --list "$i"; then
44 chrpath --delete "$i";