blob: a671ae5d8282c23fd7e2dbfdab51788ff5c9523f (
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
48
49
50
51
|
# Maintainer: Br Anthony VanBerkum <anthonyvbop AT gmail DOT com>
# Contributor: Br. Elijah Schwab (github - eschwab)
pkgbase=gregorio-git
pkgname=$pkgbase
pkgver=5.2.0.r4342.8d81faff
pkgrel=1
pkgdesc="Command-line tool to typeset Gregorian chant"
url=http://gregorio-project.github.io
arch=("i686" "x86_64")
license=("GPL")
makedepends=("git" "python" "fontforge")
depends=("texlive-core" "texlive-fontsextra" "texlive-bin" "texlive-formatsextra" "texlive-latexextra")
conflicts=("gregorio-svn" "gregorio" "gregoriotex")
provides=("gregorio")
source=("$pkgbase::git+https://github.com/gregorio-project/gregorio.git#branch=develop")
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/$pkgbase/"
_version=$(python2 VersionManager.py -c | sed -e "s/-/_/g")
echo $_version.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
prepare() {
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
msg "Building fonts..."
cd "$srcdir/$pkgbase/fonts/"
make -j really-all-fonts || return 1
}
package() {
cd "$srcdir/$pkgbase/"
msg "Installing gregorio..."
make -j DESTDIR="$pkgdir/" install || return 1
msg "Installing TeX files..."
cd "$srcdir/$pkgbase/"
SKIP=docs ./install-gtex.sh dir:$pkgdir/usr/share/texmf || return 1
msg "Installing fonts..."
cd "$srcdir/$pkgbase/fonts"
texlua install_supp_fonts.lua $pkgdir/usr/share/texmf || return 1
}
|