From eea5079923f959616497d712219bc087ce7efd1d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 15 Sep 2018 01:51:47 +0200 Subject: [PATCH] python-PyAudio: better sed line --- srcpkgs/python-PyAudio/template | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/srcpkgs/python-PyAudio/template b/srcpkgs/python-PyAudio/template index 074f96adda..91520ae75b 100644 --- a/srcpkgs/python-PyAudio/template +++ b/srcpkgs/python-PyAudio/template @@ -15,9 +15,7 @@ distfiles="${PYPI_SITE}/P/PyAudio/PyAudio-${version}.tar.gz" checksum=93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74 post_install() { - linestart=$(grep -n "Copyright (c) 2006 Hubert Pham" README | cut -d: -f1) - lineend=$(grep -n "WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." README | cut -d: -f1) - sed -n "${linestart},${lineend}p" < README > LICENSE + sed -n '/Copyright/,/SOFTWARE\./p'< README > LICENSE vlicense LICENSE }