summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfenuks2021-05-23 23:26:06 +0200
committerfenuks2021-05-23 23:26:06 +0200
commit5a087cc2e881b7274e2eab9c87602988de7581d7 (patch)
tree0f65a3662b4a380e87a88456f727e3a338427465
parent1c1f9a3c1f3dd85153bae482828bbb898dcc1a27 (diff)
downloadaur-5a087cc2e881b7274e2eab9c87602988de7581d7.tar.gz
Update to 0.22_04-2
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD23
2 files changed, 16 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c21623dbaa2..2d29d4ba3a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Tue Apr 16 21:10:11 UTC 2019
pkgbase = gwc
pkgdesc = Gtk Wave Cleaner is a digital audio editor to denoise, dehiss and amplify audio files
pkgver = 0.22_04
- pkgrel = 1
+ pkgrel = 2
url = http://gwc.sourceforge.net/
arch = i686
arch = x86_64
@@ -12,12 +10,12 @@ pkgbase = gwc
depends = libsndfile
depends = gtk2
depends = fftw
- optdepends = vorbis-tools: for ogg support
- optdepends = lame: for mp3 support
+ optdepends = vorbis-tools: for ogg export
+ optdepends = lame: for mp3 export
provides = gwc
conflicts = gwc
- source = https://github.com/AlisterH/gwc/archive/0.22-04.tar.gz
- sha256sums = 2e1bb6d839a683d36c1d64775c847dba77222dca1c1205350d34196a20527022
+ source = https://github.com/AlisterH/gwc/releases/download/0.22-04/gtk-wave-cleaner-0.22-04.tar.gz
+ sha256sums = 0107c3a0c6074e03f7f5fca8eb4ea0d8e7f47d574b1c5df4fcc4a4418c1ab64a
pkgname = gwc
diff --git a/PKGBUILD b/PKGBUILD
index d4b2132aea1..f9b2d35f855 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,37 +2,36 @@
_pkgver=0.22
_pkgrel=04
+_file=gtk-wave-cleaner-${_pkgver}-${_pkgrel}
pkgname=gwc
pkgver=${_pkgver}_${_pkgrel}
-pkgrel=1
+pkgrel=2
pkgdesc="Gtk Wave Cleaner is a digital audio editor to denoise, dehiss and amplify audio files"
arch=("i686" "x86_64")
url="http://gwc.sourceforge.net/"
license=("GPL")
depends=("libsndfile" "gtk2" "fftw")
-optdepends=("vorbis-tools: for ogg support"
- "lame: for mp3 support")
+optdepends=("vorbis-tools: for ogg export"
+ "lame: for mp3 export")
makedepends=("make")
provides=("${pkgname}")
conflicts=("${pkgname}")
# install=$pkgname.install
-source=("https://github.com/AlisterH/gwc/archive/${_pkgver}-${_pkgrel}.tar.gz")
-
-sha256sums=('2e1bb6d839a683d36c1d64775c847dba77222dca1c1205350d34196a20527022')
+source=("https://github.com/AlisterH/gwc/releases/download/${_pkgver}-${_pkgrel}/${_file}.tar.gz")
+sha256sums=('0107c3a0c6074e03f7f5fca8eb4ea0d8e7f47d574b1c5df4fcc4a4418c1ab64a')
prepare() {
- cd "${srcdir}/${pkgname}-${_pkgver}-${_pkgrel}"
- autoreconf -ifv
- ./configure --prefix=/usr
+ cd "${srcdir}/${_file}"
+ LDFLAGS="-Xlinker --allow-multiple-definition" ./configure --prefix=/usr
}
build() {
- cd "${srcdir}/${pkgname}-${_pkgver}-${_pkgrel}"
- make
+ cd "${srcdir}/${_file}"
+ make || make # fixes problem with missing generated machine.h
}
package() {
- cd "${srcdir}/${pkgname}-${_pkgver}-${_pkgrel}"
+ cd "${srcdir}/${_file}"
make DESTDIR="${pkgdir}/" install
rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
}