1 # Maintainer: Phil Quiney <pquiney nospamat post nospamdot com>
5 pkgdesc="Program for generating guitar chord music sheets from text files"
7 url="http://www.vromans.org/johan/projects/Chordii"
10 depends=(glibc grep gawk)
11 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('24d431c7e03549913b35d85cd9c4e41a')
15 cd ${srcdir}/${pkgname}-${pkgver}
16 # Remove 'dist_man_MANS' definition as it conflicts with man_MANS when
17 # installing mam pages as it tries to install duplicate pages
18 sed -i -e 's/dist_man_MANS/#dist_man_MANS/' man/Makefile.am
19 sed -i -e 's/dist_man_MANS/#dist_man_MANS/' man/Makefile.in
20 # Remake build system - it notices the above change
22 ./configure --prefix=/usr
24 make DESTDIR="${pkgdir}" install || return 1
25 install -d ${pkgdir}/usr/share/${pkgname}/examples
26 install -m644 examples/* ${pkgdir}/usr/share/${pkgname}/examples