summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dea96f31ad83d3f42d9a06d5e3108532813b1ec8 (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
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=soundtouch-svn
pkgver=r255
pkgrel=1
pkgdesc="Audio processing library for changing the tempo, pitch and playback rates of audio streams or audio files"
arch=('i686' 'x86_64')
url="https://www.surina.net/soundtouch/"
license=('LGPL')
depends=('glibc')
makedepends=('git')
provides=('soundtouch')
conflicts=('soundtouch')
source=("svn+https://svn.code.sf.net/p/soundtouch/code/trunk")
sha256sums=('SKIP')


pkgver() {
  cd "trunk"

  _ver="$(svnversion)"
  printf "r%s" "${_ver//[[:alpha:]]}"
}

build() {
  cd "trunk"

  ./bootstrap
  ./configure --prefix="/usr"
  make
}

package() {
  cd "trunk"

  make DESTDIR="$pkgdir" install

  rm "$pkgdir/usr/share/doc/soundtouch/COPYING.TXT"
}