git » audacity.git » commit 25a60c6

Upgrading to 2.2.2. Minor fixes.

author David Runge
2018-03-06 12:18:00 UTC
committer David Runge
2018-03-06 12:18:00 UTC
parent 5cd549d4585d75c80f158bdf739cba0870584d6b

Upgrading to 2.2.2. Minor fixes.

PKGBUILD +7 -6

diff --git a/PKGBUILD b/PKGBUILD
index fb4ee31..a0cb6dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
 # Contributor: Eric BĂ©langer <eric@archlinux.org>
 
 pkgname=audacity
-pkgver=2.2.1
-pkgrel=2
+pkgver=2.2.2
+pkgrel=1
 pkgdesc="A program that lets you manipulate digital audio waveforms"
 arch=('x86_64')
 url="https://audacityteam.org"
@@ -12,15 +12,16 @@ depends=('libmad' 'libid3tag' 'wxgtk3' 'lame' 'soundtouch'
          'ffmpeg' 'vamp-plugin-sdk' 'portsmf' 'twolame' 'suil' 'lilv') # sbsms - needs unreleased version
 makedepends=('cmake')
 source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz")
-sha512sums=('5f3e17aa5f39210f1440f49e19835bc6f2b6ab1bb58cee989dd2aa46cbcaf82eaa01037a8ee9e3a419741a34ae00c0325da33f017d83be531654032797ac7edd')
+sha512sums=('311a5f3413e7faf40dc5639b2b9f8b0d03d1a410c50d894ca7abf3fe5733a29b710ccf7e3215d97dd9142e93c0ab5e13955dfd13146b03f927f74465459a6457')
 
 prepare() {
-  cd "${pkgname}-Audacity-${pkgver}"
+  mv -v "${pkgname}-Audacity-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   autoreconf -vi
 }
 
 build() {
-  cd "${pkgname}-Audacity-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   WX_CONFIG=wx-config-gtk3 ./configure --prefix="/usr" \
     --with-libsndfile="system" \
     --with-ffmpeg="system" \
@@ -41,6 +42,6 @@ build() {
 }
 
 package() {
-  cd "${pkgname}-Audacity-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }