[arch-commits] Commit in ecasound/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Jun 3 13:14:57 UTC 2018
Date: Sunday, June 3, 2018 @ 13:14:56
Author: dvzrv
Revision: 339124
upgpkg: ecasound 2.9.1-11
Adding to pro-audio group. Moving all fixes to prepare(). Installing docs.
Modified:
ecasound/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-03 12:58:26 UTC (rev 339123)
+++ PKGBUILD 2018-06-03 13:14:56 UTC (rev 339124)
@@ -1,15 +1,17 @@
# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
# Contributor: Eric Belanger <eric at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=ecasound
pkgver=2.9.1
-pkgrel=10
+pkgrel=11
pkgdesc="Command-line multitrack audio processor"
arch=('x86_64')
url="https://ecasound.seul.org/ecasound/"
license=('GPL' 'LGPL')
+groups=('pro-audio')
depends=('audiofile' 'liblo>=0.28' 'lilv')
makedepends=('python2' 'ruby')
optdepends=('python2: ecamonitor, ECI API'
@@ -24,17 +26,21 @@
source=("https://ecasound.seul.org/download/$pkgname-$pkgver.tar.gz"
'ruby2.patch')
options=('staticlibs')
-sha256sums=('39fce8becd84d80620fa3de31fb5223b2b7d4648d36c9c337d3739c2fad0dcf3'
- '5dda8e8bd245d90975f57bd68e05c50f72076f7b82fab02fdd5a510275f0f188')
+sha512sums=('b91fd68cb4809fdf62b25323fbf52c9bb7de6663287d5aa2576cc4fb28e322850b7020df2718ed6087f5d9f5f96692a476287378ea65853d01834523e8eb7033'
+ 'aa1553e81acc41917cc8e62b7e2569106183b4500d687fc17e0b56c8f70e78ae63cd65c4940ef83a13dbb0b320ba51573b6eb43da54b141f846623962838d639')
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ # fix python2 shebang
+ sed -e 's:bin/env python:bin/env python2:' \
+ -i "ecatools/ecamonitor"
+
# fix ruby 2.0 incompatibility + use vendor_ruby for ruby files
patch -Np1 -i "$srcdir/ruby2.patch"
}
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
PYTHONPATH=/usr/bin/python2 ./configure \
--prefix=/usr \
@@ -46,13 +52,11 @@
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
-
- # fix for python 2.7
- sed -i 's:bin/env python:bin/env python2:' \
- "$pkgdir/usr/bin/ecamonitor"
+ # docs
+ install -vDm 644 {AUTHORS,BUGS,NEWS,README,RELNOTES,TODO} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list