diff options
author | Moritz Maxeiner | 2015-06-11 13:21:17 +0200 |
---|---|---|
committer | Moritz Maxeiner | 2015-06-11 13:21:17 +0200 |
commit | 1bba019c0337bc7bd333a66f7af2623741f60577 (patch) | |
tree | b15cfd4cb9bb39ffc12b5f1249c743917c1e72ea | |
download | aur-1bba019c0337bc7bd333a66f7af2623741f60577.tar.gz |
Initial import: 3.7
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | sptk.sh | 3 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..239cc573f192 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = sptk + pkgdesc = A suite of speech signal processing tools. + pkgver = 3.7 + pkgrel = 1 + url = http://sp-tk.sourceforge.net/ + arch = i686 + arch = x86_64 + license = BSD + depends = glibc + optdepends = libx11: for XY-plotter + optdepends = tcsh: for helper scripts + source = http://downloads.sourceforge.net/sp-tk/SPTK-3.7.tar.gz + source = sptk.sh + sha256sums = afc4b309f5911010f1a37cbb307f4637f93b4aa141bdc915813913426b1513af + sha256sums = b5afaf60414297bd359f73dbe14ae2a3608f9c52301cc5801c9708ceb710d416 + +pkgname = sptk + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e6652a11e33d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Moritz Maxeiner <moritz@ucworks.org> +# Contributor: Sebastien <sebcactus@gmail.com> + +pkgname=sptk +pkgver=3.7 +pkgrel=1 +pkgdesc="A suite of speech signal processing tools." +arch=('i686' 'x86_64') +url="http://sp-tk.sourceforge.net/" +license=('BSD') +depends=('glibc') +optdepends=('libx11: for XY-plotter' 'tcsh: for helper scripts') +source=(http://downloads.sourceforge.net/sp-tk/SPTK-$pkgver.tar.gz ${pkgname}.sh) + +build() +{ + cd "${srcdir}/SPTK-$pkgver" + ./configure --prefix=/opt/$pkgname + make +} + +package() +{ + cd "${srcdir}/SPTK-$pkgver" + make prefix="${pkgdir}/opt/$pkgname" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" + install -D -m755 ../${pkgname}.sh "${pkgdir}/etc/profile.d/${pkgname}.sh" +} +sha256sums=('afc4b309f5911010f1a37cbb307f4637f93b4aa141bdc915813913426b1513af' + 'b5afaf60414297bd359f73dbe14ae2a3608f9c52301cc5801c9708ceb710d416') diff --git a/sptk.sh b/sptk.sh new file mode 100644 index 000000000000..9a54e5c5597f --- /dev/null +++ b/sptk.sh @@ -0,0 +1,3 @@ +# Set path to sptk bindirs if they exist +[ -d /opt/sptk/bin ] && PATH=$PATH:/opt/sptk/bin +export PATH |