blob: fd89306adfc4eb2ca443620447113c9b9d45b9b6 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Anthony VanBerkum <anthonyvbop AT gmail DOT com>
# Contributor: LaƩrcio de Sousa <lbsousajr AT gmail DOT com>
# Contributor: David Gippner davidgippner at googlemail dot com
pkgbase=gregorio
pkgname=$pkgbase
pkgver=6.0.0
pkgrel=1
_pkgver_underscores=$(echo $pkgver | sed -e 's/\./_/g')
pkgdesc="Command-line tool to typeset Gregorian chant"
url=http://gregorio-project.github.io
arch=("i686" "x86_64")
license=("GPL")
depends=("texlive-core" "texlive-fontsextra" "texlive-bin" "texlive-formatsextra" "texlive-latexextra")
conflicts=("gregorio-svn" "gregorio-git" "gregoriotex")
provides=("gregorio")
source=("https://github.com/gregorio-project/gregorio/releases/download/v$pkgver/gregorio-$pkgver.tar.bz2"
"https://github.com/gregorio-project/gregorio/releases/download/v$pkgver/supp_fonts-$_pkgver_underscores.zip")
sha256sums=("e2a3da9cb760cfd3bd152440bbd40c1776be430de8f421dc21cee70ae48a63b2"
"22d3c890c32f2e4e4be35b8245f5a2772dd05a6954f08c3c9b02a8002142e07f")
prepare() {
# Standardise src dir name without using a private variable.
mv "$srcdir/$pkgbase-$pkgver/" "$srcdir/$pkgbase/"
msg "Configuring..."
cd "$srcdir/$pkgbase/"
autoreconf -f -i
./configure --prefix=/usr/local || return 1
}
build() {
msg "Compiling gregorio..."
cd "$srcdir/$pkgbase/"
make -j || return 1
}
package() {
cd "$srcdir/$pkgbase/"
msg "Installing gregorio..."
make -j DESTDIR="$pkgdir/" install || return 1
msg "Installing TeX files..."
cd "$srcdir/$pkgbase/"
./install-gtex.sh dir:$pkgdir/usr/share/texmf || return 1
msg "Installing fonts..."
cd "$srcdir/"
texlua install_supp_fonts.lua $pkgdir/usr/share/texmf || return 1
}
|