adopted, fix pkgver(), rm .install

This commit is contained in:
Bernhard Landauer 2017-01-13 02:10:00 +00:00
parent b418ac98c1
commit 4599fef671
3 changed files with 28 additions and 36 deletions

View File

@ -1,27 +1,28 @@
# Generated by mksrcinfo v8
# Fri Jan 13 02:08:58 UTC 2017
pkgbase = audacity-git pkgbase = audacity-git
pkgdesc = A program that lets you manipulate digital audio waveforms pkgdesc = A program that lets you manipulate digital audio waveforms
pkgver = wx3.stable.r418.g162392e pkgver = 2.1.2.r1637.ge47a2ec3
pkgrel = 1 pkgrel = 1
url = http://audacity.sourceforge.net/ url = http://audacity.sourceforge.net/
install = audacity.install
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = GPL license = GPL
makedepends = cmake makedepends = cmake
makedepends = python2 makedepends = python2
makedepends = twolame 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 = 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 = webkitgtk2
depends = wxgtk
provides = audacity provides = audacity
conflicts = audacity conflicts = audacity
options = !makeflags options = !makeflags

View File

@ -1,21 +1,28 @@
# $Id: PKGBUILD 236317 2015-04-12 19:26:30Z eric $ # Maintainer: Bernhard Landauer <oberon@manjaro.org>
# Maintainer: Proudzhu <proudzhu.fdu at gmail.com>
# Contributor: Eric Bélanger <eric@archlinux.org> # Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=audacity-git pkgname=audacity-git
_pkgname=audacity _pkgname=audacity
pkgver=wx3.stable.r418.g162392e pkgver=2.1.2.r1637.ge47a2ec3
pkgrel=1 pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms" pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://audacity.sourceforge.net/" url="http://audacity.sourceforge.net/"
license=('GPL') license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'lilv' 'soundtouch' depends=('desktop-file-utils'
'ffmpeg' 'vamp-plugin-sdk' 'sbsms' 'portsmf' 'desktop-file-utils' 'ffmpeg'
'webkitgtk2') 'lame'
'libid3tag'
'libmad'
'lilv'
'portsmf'
'sbsms'
'soundtouch'
'vamp-plugin-sdk'
'webkitgtk2'
'wxgtk')
makedepends=('cmake' 'python2' 'twolame') makedepends=('cmake' 'python2' 'twolame')
options=('!makeflags') options=('!makeflags')
install=audacity.install
provides=('audacity') provides=('audacity')
conflicts=('audacity') conflicts=('audacity')
source=("$_pkgname::git+https://github.com/audacity/audacity.git" source=("$_pkgname::git+https://github.com/audacity/audacity.git"
@ -25,10 +32,7 @@ sha1sums=('SKIP'
pkgver() { pkgver() {
cd "$srcdir/$_pkgname" cd "$srcdir/$_pkgname"
( set -o pipefail git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
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)"
)
} }
prepare() { prepare() {

View File

@ -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
}