PKGBUILDs/dbus-soundrecorder/default/PKGBUILD

29 lines
955 B
Bash
Raw Normal View History

2015-08-26 21:21:22 +02:00
# 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.
2015-12-02 02:20:30 +01:00
_reponame=dbus-soundrecorder
2015-08-26 21:21:22 +02:00
pkgname=dbus-soundrecorder
pkgver=1.2.1
2015-12-28 00:22:34 +01:00
pkgrel=1
2015-08-26 21:21:22 +02:00
arch=('i686' 'x86_64')
2016-08-09 01:55:11 +02:00
pkgdesc="Records sound from Pulse Audio using ffmpeg while watching D-Bus to determine tracks and meta data"
2015-08-26 21:21:22 +02:00
license=('GPL')
2015-12-06 19:17:57 +01:00
depends=('c++utilities' 'qt5-base')
makedepends=('cmake' 'qtutilities')
2015-12-02 02:20:30 +01:00
url="https://github.com/Martchus/${_reponame}"
source=("dbus-soundrecorder-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('0916dd0282447add537900472f2ef35c5f26feefb2fdb41a3a3d39fcabd226d8')
2015-08-26 21:21:22 +02:00
build() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"
2015-12-24 16:50:30 +01:00
make
2015-08-26 21:21:22 +02:00
}
package() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make DESTDIR="${pkgdir}" install
2015-08-26 21:21:22 +02:00
}