summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d71a320384d0f2e057fd976f1261c68ff011d1ab (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
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
_pkgname=sonic
pkgname=libsonic-git
pkgver=1
pkgrel=1
pkgdesc="Simple library to speed up or slow down speech"
arch=('any')
url="https://github.com/waywardgeek/sonic"
license=('Apache 2.0')
depends=('gcc')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/waywardgeek/${_pkgname}.git")
md5sums=("SKIP")

pkgver()
{
  cd "$_pkgname"
  git shortlog | head -n 1 | tr -Cd "[:digit:]"
}
 
build()
{
cd "$_pkgname"
make
}

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

# vim:set ts=2 sw=2 et: