summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3dc047cffb8157e5b308ff7ad4448b5384fb860b (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: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
# Contributor: Army
_pkgname=paulstretch
pkgname=$_pkgname-git
pkgver=0.r23.7f5c399
pkgrel=1
pkgdesc="a program for stretching the audio"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://hypermammut.sourceforge.net/paulstretch"
license=('GPL2')
depends=('fltk' 'mxml' 'portaudio' 'audiofile' 'fftw' 'libmad')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/paulnasca/paulstretch_cpp.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$_pkgname"
  ./compile_linux_fftw.sh
}

package() {
  cd "$srcdir/$_pkgname"
  install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}

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