summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfenuks2016-01-04 18:37:46 +0100
committerfenuks2016-01-04 18:37:46 +0100
commitae73d3fbe53b4ca0d825432edaeda846b7488391 (patch)
treefe2277e5cc938a8a92fbe31cc3d5296d508ea73f
downloadaur-ae73d3fbe53b4ca0d825432edaeda846b7488391.tar.gz
Initial release
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD45
-rwxr-xr-xgwc.desktop10
3 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..62610873ae0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Mon Jan 4 17:37:05 UTC 2016
+pkgbase = gwc
+ pkgdesc = Gnome Wave Cleaner is a digital audio editor to denoise, dehiss and amplify audio files
+ pkgver = 0.21_19
+ pkgrel = 1
+ url = http://gwc.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = make
+ depends = libgnomeui
+ depends = libsndfile
+ depends = fftw
+ provides = gwc
+ conflicts = gwc
+ source = http://downloads.sourceforge.net/project/gwc/gwc2/0.21-19/gwc-0.21-19.tgz
+ source = gwc.desktop
+ md5sums = 740f16be30b178b155b54811491a0b46
+ md5sums = c30a0a18981a3897a6d63f6f490b0d6c
+
+pkgname = gwc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ccad4d80591
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: fenuks
+
+pkgname=gwc
+_ver=0.21
+_release=19
+pkgver=${_ver}_${_release}
+pkgrel=1
+pkgdesc="Gnome 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=("libgnomeui" "libsndfile" "fftw")
+makedepends=("make")
+provides=("$pkgname")
+conflicts=("$pkgname")
+# install=$pkgname.install
+source=("http://downloads.sourceforge.net/project/gwc/gwc2/$_ver-$_release/gwc-$_ver-$_release.tgz"
+ "${pkgname}.desktop"
+)
+
+md5sums=('740f16be30b178b155b54811491a0b46'
+ 'c30a0a18981a3897a6d63f6f490b0d6c')
+
+prepare() {
+ cd "$srcdir/$pkgname-$_ver-$_release"
+ # mkdir -p build & cd build
+ ./configure --prefix=/usr
+ sed -i 's|DOCDIR = $(DATADIR)/doc/gwc|DOCDIR = ${prefix}/share/doc/gwc|' Makefile
+}
+
+build() {
+ cd "$srcdir/$pkgname-$_ver-$_release"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$_ver-$_release"
+ # cd build
+ # make DESTDIR="$pkgdir/" install
+ install -Dm 755 gwc $pkgdir/usr/bin/gwc
+ install -Dm 644 gwc-logo.png $pkgdir/usr/share/pixmaps/gwc.png
+ install -Dm 644 gwc.desktop $pkgdir/usr/share/applications/gwc.desktop
+ install -dm 644 $pkgdir/usr/share/doc/gwc
+ for file in gwc_qs.html gwc.html; do install -D doc/C/$file $pkgdir/usr/share/doc/gwc/$file; done
+}
diff --git a/gwc.desktop b/gwc.desktop
new file mode 100755
index 00000000000..f110fbe145a
--- /dev/null
+++ b/gwc.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Gnome Wave Cleaner
+GenericName=Sound Editor
+Comment=Digital audio editor to denoise, dehiss and amplify audio files
+Exec=/usr/bin/gwc
+Icon=gwc
+Categories=Audio;AudioVideo;
+StartupNotify=true
+Terminal=false
+Type=Application