blob: 7d12aab3d47504bfbabc2beccbf9c96f4bfb995b (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Maintainer: Aseem Athale <athaleaseem@gmail.com>
_pkgname=schemes
pkgname=govarnam-schemes-git
pkgver=1.8.0.r0.gffde8ee
pkgrel=1
pkgdesc="Varnam Language support files for govarnam - Git version"
arch=('x86_64')
url="https://www.varnamproject.com/"
license=('MPL')
source=("git+https://github.com/varnamproject/${_pkgname}.git")
sha256sums=('SKIP')
makedepends=('ruby' 'ruby-ffi' 'govarnam')
provides=('govarnam-schemes')
install=${pkgname}.install
pkgver() {
cd "${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/^v//g'
}
build() {
cd "${_pkgname}"
ruby compile-scheme.rb -s schemes/as/as.scheme -o schemes/as/as.vst
ruby compile-scheme.rb -s schemes/bn/bn.scheme -o schemes/bn/bn.vst
ruby compile-scheme.rb -s schemes/gu/gu.scheme -o schemes/gu/gu.vst
ruby compile-scheme.rb -s schemes/hi/hi.scheme -o schemes/hi/hi.vst
ruby compile-scheme.rb -s schemes/kn/kn.scheme -o schemes/kn/kn.vst
ruby compile-scheme.rb -s schemes/ml/ml.scheme -o schemes/ml/ml.vst
ruby compile-scheme.rb -s schemes/ml-inscript/ml-inscript.scheme -o schemes/ml-inscript/ml-inscript.vst
ruby compile-scheme.rb -s schemes/mr/mr.scheme -o schemes/mr/mr.vst
ruby compile-scheme.rb -s schemes/ne/ne.scheme -o schemes/ne/ne.vst
ruby compile-scheme.rb -s schemes/or/or.scheme -o schemes/or/or.vst
ruby compile-scheme.rb -s schemes/pa/pa.scheme -o schemes/pa/pa.vst
ruby compile-scheme.rb -s schemes/sa/sa.scheme -o schemes/sa/sa.vst
ruby compile-scheme.rb -s schemes/ta/ta.scheme -o schemes/ta/ta.vst
ruby compile-scheme.rb -s schemes/te/te.scheme -o schemes/te/te.vst
}
package() {
cd "${_pkgname}"
mkdir -p "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/as/as.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/bn/bn.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/gu/gu.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/hi/hi.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/kn/kn.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/ml/ml.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/ml-inscript/ml-inscript.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/mr/mr.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/ne/ne.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/or/or.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/pa/pa.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/sa/sa.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/ta/ta.vst "${pkgdir}"/usr/share/varnam/schemes/
cp schemes/te/te.vst "${pkgdir}"/usr/share/varnam/schemes/
}
|