summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc04c36b3671b6a89de4d239471c3dd0acebb497 (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
# Maintainer: Minerva Wu
pkgname=rocaloid-ruce-git
pkgver=204.f4b9400
pkgrel=1
pkgdesc="A free vocal synthesis system --- UTAU Compatible Engine"
arch=(i686 x86_64)
url="http://rocaloid.org"
license=(GPL)
depends=()
makedepends=(cmake git)
source=(git+https://github.com/Rocaloid/RUCE.git#branch=nanodesu)
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/RUCE"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd "$srcdir/RUCE"
	git submodule init
	git submodule update
	[ -d build ] && rm -rf build
	mkdir build
	cd build
	cmake ..
  make
}

package() {
  cd "$srcdir/RUCE"
  make DESTDIR="$pkgdir" install
}