PKGBUILDs/dbus-soundrecorder/default/PKGBUILD

25 lines
796 B
Bash

# Maintainer: Martchus <martchus@gmx.net>
pkgname=dbus-soundrecorder
pkgver=1.0.1
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Records sound from Pulse Audio using ffmpeg while watching D-Bus to determine tracks and meta data."
license=('GPL')
depends=('c++utilities')
makedepends=('qt5-base')
url="https://github.com/Martchus/dbus-soundrecorder"
source=("dbus-soundrecorder-${pkgver}.tar.gz::https://github.com/Martchus/dbus-soundrecorder/archive/v${pkgver}.tar.gz")
_reponame=dbus-soundrecorder
sha256sums=('abdf3c0d5aaa1197ae9aa8a1059c19bfbdc79b32e8b2e88c0a30ea1bff5f0edf')
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make install
}