summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b296b0621d434400d8a9107a98387bf4570a7841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Devin J. Pohly <djpohly+arch@gmail.com>
# Contributor: Claudio Riva <firetux83@gmail.com>
pkgname=songs
pkgver=3.1
pkgrel=1
pkgdesc="A software suite that allows a user to create beautiful songbooks using LaTeX"
arch=('any')
url="http://songs.sourceforge.net/"
license=('GPL')
depends=('texlive-bin' 'texlive-core')
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/Unix%20source/$pkgname-$pkgver.tar.gz)
install=songs.install
sha256sums=('fc0940cdfc7cd7eb899ebba1b4e19ee3dc55e400b9d18d7c50b267c0c1ccf43f')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  
  ./configure --prefix=/usr \
        --with-texmf-path=/usr/share/texmf
  # Running make once fails, twice succeeds.  Patch?
  make || make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}