blob: 900edfca9d9333018820fb9196872cb6417f2926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=taptempo
pkgver=1.4.5
pkgrel=2
pkgdesc="A command line tap tempo. Hit enter key with style and you'll get the corresponding number of beats per minute (BPM). This tool is very useful to quickly find the tempo of a song without launching a big digital workstation like Ardour or LMMS"
arch=('x86_64')
url="https://taptempo.tuxfamily.org"
license=('GPL3')
depends=('gcc-libs')
makedepends=('catch2-v2' 'cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://download.tuxfamily.org/taptempo/${pkgver}/taptempo-${pkgver}.tar.gz")
sha256sums=('6a471bc693516529dfc7b8bb3cf7e237dde675068cce0f0d99d2831e2e378753')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
if [[ -d _build ]]; then
rm -rf _build
fi
mkdir _build
cd _build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
}
build() {
cd "$srcdir/$pkgname-$pkgver/_build"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/_build"
DESTDIR=$pkgdir make install
}
|