File PKGBUILD of Package delaycut-git
# Maintainer: Dmitry Kharitonov <darksab0r at gmail com>
# Contributor: kfgz <kfgz at interia pl>
# Contributor: sonic414 <kevinjf at live dot in>
pkgname=delaycut-git
pkgver=1.4.3.7
pkgrel=2
pkgdesc="Delaycut corrects delay and is also able to cut audio files coded ac3, dts, mpa and wav. It's also able to fix CRC errors in ac3 and mpa files."
arch=('i686' 'x86_64')
#url='http://download.videohelp.com/jsoto/audiotools.htm'
url='https://github.com/darealshinji/delaycut'
license=GPL3
depends=('qt4')
conflicts=('delaycut')
provides=('delaycut')
source=("delaycut-$pkgver.tar.xz")
md5sums=(SKIP)
build() {
cd "${srcdir}"/delaycut-$pkgver
qmake-qt4 QMAKE_CFLAGS_RELEASE="$CPPFLAGS $CFLAGS" QMAKE_CXXFLAGS_RELEASE="$CPPFLAGS \
$CXXFLAGS" QMAKE_LFLAGS_RELEASE="$LDFLAGS" CONFIG+=Linux delaycut.pro
make
}
package () {
cd "${srcdir}"/delaycut-$pkgver
install -Dm755 delaycut "${pkgdir}"/usr/bin/delaycut
install -Dm644 extra/delaycut.desktop "${pkgdir}"/usr/share/applications/delaycut.desktop
install -Dm644 extra/delaycut.xpm "${pkgdir}"/usr/share/pixmaps/delaycut.xpm
}