From 4599fef6710918c8e84cec65968cdd415c1ed1a0 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Fri, 13 Jan 2017 02:10:00 +0000 Subject: [PATCH] adopted, fix pkgver(), rm .install --- .SRCINFO | 25 +++++++++++++------------ PKGBUILD | 26 +++++++++++++++----------- audacity.install | 13 ------------- 3 files changed, 28 insertions(+), 36 deletions(-) delete mode 100644 audacity.install diff --git a/.SRCINFO b/.SRCINFO index 9bcc732..5c777a0 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,27 +1,28 @@ +# Generated by mksrcinfo v8 +# Fri Jan 13 02:08:58 UTC 2017 pkgbase = audacity-git pkgdesc = A program that lets you manipulate digital audio waveforms - pkgver = wx3.stable.r418.g162392e + pkgver = 2.1.2.r1637.ge47a2ec3 pkgrel = 1 url = http://audacity.sourceforge.net/ - install = audacity.install arch = i686 arch = x86_64 license = GPL makedepends = cmake makedepends = python2 makedepends = twolame - depends = libmad - depends = libid3tag - depends = wxgtk - depends = lame - depends = lilv - depends = soundtouch - depends = ffmpeg - depends = vamp-plugin-sdk - depends = sbsms - depends = portsmf depends = desktop-file-utils + depends = ffmpeg + depends = lame + depends = libid3tag + depends = libmad + depends = lilv + depends = portsmf + depends = sbsms + depends = soundtouch + depends = vamp-plugin-sdk depends = webkitgtk2 + depends = wxgtk provides = audacity conflicts = audacity options = !makeflags diff --git a/PKGBUILD b/PKGBUILD index 475e0ac..cc49dd2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,21 +1,28 @@ -# $Id: PKGBUILD 236317 2015-04-12 19:26:30Z eric $ -# Maintainer: Proudzhu +# Maintainer: Bernhard Landauer # Contributor: Eric BĂ©langer pkgname=audacity-git _pkgname=audacity -pkgver=wx3.stable.r418.g162392e +pkgver=2.1.2.r1637.ge47a2ec3 pkgrel=1 pkgdesc="A program that lets you manipulate digital audio waveforms" arch=('i686' 'x86_64') url="http://audacity.sourceforge.net/" license=('GPL') -depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'lilv' 'soundtouch' - 'ffmpeg' 'vamp-plugin-sdk' 'sbsms' 'portsmf' 'desktop-file-utils' - 'webkitgtk2') +depends=('desktop-file-utils' + 'ffmpeg' + 'lame' + 'libid3tag' + 'libmad' + 'lilv' + 'portsmf' + 'sbsms' + 'soundtouch' + 'vamp-plugin-sdk' + 'webkitgtk2' + 'wxgtk') makedepends=('cmake' 'python2' 'twolame') options=('!makeflags') -install=audacity.install provides=('audacity') conflicts=('audacity') source=("$_pkgname::git+https://github.com/audacity/audacity.git" @@ -25,10 +32,7 @@ sha1sums=('SKIP' pkgver() { cd "$srcdir/$_pkgname" - ( set -o pipefail - git describe --long --tags 2>/dev/null | sed 's/^v//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" - ) + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2- } prepare() { diff --git a/audacity.install b/audacity.install deleted file mode 100644 index 34ab919..0000000 --- a/audacity.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - update-desktop-database -q - update-mime-database usr/share/mime &> /dev/null - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -}