updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / chordii / PKGBUILD
blob954b23bc0dffbd01fe2c04d4771d0f8c7adbff87
1 # Maintainer: Phil Quiney <pquiney nospamat post nospamdot com>
2 pkgname=chordii
3 pkgver=4.3
4 pkgrel=1
5 pkgdesc="Program for generating guitar chord music sheets from text files"
6 arch=('i686' 'x86_64')
7 url="http://www.vromans.org/johan/projects/Chordii"
8 license="GPL"
9 makedepends=(automake)
10 depends=(glibc grep gawk)
11 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('24d431c7e03549913b35d85cd9c4e41a')
14 build() {
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
21   aclocal
22   ./configure --prefix=/usr
23   make || return 1
24   make DESTDIR="${pkgdir}" install || return 1
25   install -d ${pkgdir}/usr/share/${pkgname}/examples
26   install -m644 examples/* ${pkgdir}/usr/share/${pkgname}/examples