summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21aa2a4972f76ac3acebbc5f5c9ec2c9a9d535b0 (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
# Maintainer: kiasoc5 <kiasoc5 at tutanota dot com>
# Contributor: Eric BĂ©langer <eric@archlinux.org>
# Contributor: Devin J. Pohly <djpohly+arch@gmail.com>

pkgname=sbsms
pkgver=0.0.0
pkgrel=1
epoch=1
pkgdesc="A command line time-stretching / pitch-shifting tool"
arch=('x86_64')
url="https://sourceforge.net/projects/sbsms/files/sbsms-app/"
license=('GPL2')
depends=('libsbsms' 'libsndfile' 'libmad')
options=('!staticlibs')
source=("https://sourceforge.net/projects/sbsms/files/sbsms-app/sbsms-app-$pkgver.tar.gz")
sha512sums=('f7da91d4d750906bb26afdb72419c71a09c20ba3121678686abe3ad85f4ae57bd36c9fa490fb07d6fbb893ec271ea23337d5c41b54c26e52025e4a4ce4bc5693')

# missing -pthread
prepare() {
  cd $pkgname-app-$pkgver
  sed -i '/^LT_INIT/a LIBS="-pthread $LIBS"' configure.in
  aclocal
  autoconf
  automake --add-missing
}

build() {
  cd $pkgname-app-$pkgver
  ./configure --prefix=/usr --enable-shared
  make
}

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