adopted, fix pkgver(), rm .install
This commit is contained in:
parent
b418ac98c1
commit
4599fef671
25
.SRCINFO
25
.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
|
||||
|
|
26
PKGBUILD
26
PKGBUILD
|
@ -1,21 +1,28 @@
|
|||
# $Id: PKGBUILD 236317 2015-04-12 19:26:30Z eric $
|
||||
# Maintainer: Proudzhu <proudzhu.fdu at gmail.com>
|
||||
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
|
||||
# Contributor: Eric Bélanger <eric@archlinux.org>
|
||||
|
||||
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() {
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue