summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78f75603e384c02831b92ef1f1902d4747228f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: fenuks

_pkgver=0.22
_pkgrel=05
_file=gtk-wave-cleaner-${_pkgver}-${_pkgrel}
pkgname=gwc
pkgver=${_pkgver}_${_pkgrel}
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 export"
            "lame: for mp3 export")
makedepends=("make")
provides=("${pkgname}")
conflicts=("${pkgname}")
# install=$pkgname.install
source=("https://github.com/AlisterH/gwc/releases/download/${_pkgver}-${_pkgrel}/${_file}.tar.gz")
sha256sums=('6e7cd392b56925ed07d118eedf967b154679e66dbbc84316ae1a35ab0f3c1517')

prepare() {
    cd "${srcdir}/${_file}"
    ./configure --prefix=/usr
}

build() {
    cd "${srcdir}/${_file}"
    make || make # fixes problem with missing generated machine.h
}

package() {
    cd "${srcdir}/${_file}"
    make DESTDIR="${pkgdir}/" install
    rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
}