summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77b54222d9d7c2d34ef4c161f30167c5470726b7 (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
# Maintainer: Lin Ruoshui <echo bGluLnJ1b2hzaG9laUBnbWFpbC5jb20= | base64 -d>

pkgname=wavtool-pl
pkgver=r10.84ade75
pkgrel=1
pkgdesc="drop-in replacement for wavtool inside UTAU"
arch=('x86_64')
url="https://osdn.net/projects/wavtool-pl/"
license=('GPL3')
depends=('libsndfile')
makedepends=(git)
provides=('wavtool')
conflicts=('wavtool')
source=("$pkgname::git+https://scm.osdn.net/gitroot/wavtool-pl/wavtool-pl.git")
md5sums=('SKIP')
validpgpkeys=()

pkgver() {
  cd "$pkgname"
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}
prepare() {
	cd "$pkgname"
#	patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
	autoreconf -fi
}

build() {
	cd "$pkgname"
	./configure --prefix=/usr
	make
}

check() {
	cd "$pkgname"
	make -k check
}

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