29 lines
947 B
Bash
29 lines
947 B
Bash
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
# you also find the URL of a binary repository.
|
|
|
|
_reponame=dbus-soundrecorder
|
|
pkgname=dbus-soundrecorder
|
|
pkgver=1.2.2
|
|
pkgrel=2
|
|
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' 'qt5-base')
|
|
makedepends=('cmake' 'qtutilities')
|
|
url="https://github.com/Martchus/${_reponame}"
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
|
|
sha256sums=('641fe93f1d858d7e2b835dc5b47aef52673c5e8418302aea5725bb83963f3b37')
|
|
|
|
build() {
|
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|