summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 253f80032b49144a633833fa5acf6d64774f2e27 (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
# Maintainer: SeeLook <seelook@gmail.com>
pkgname=metronomek
pkgver=0.6.0
_pkgver=0.6.0
pkgrel=1
pkgdesc="Metronome that works and sounds similar to mechanical devices but with all goods of computer program."
arch=('x86_64' 'i686')
url="https://metronomek.sourceforge.io/"
license=('GPL3')
groups=()
depends=('qt5-base' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'shared-mime-info')
optdepends=(
'libpulse: for PulseAudio'
'alsa-lib: for ALSA'
)
makedepends=('cmake' 'qt5-base' 'qt5-quickcontrols' 'qt5-quickcontrols2')
source=("https://sourceforge.net/projects/metronomek/files/Metronomek-$_pkgver/metronomek-$_pkgver-source.tar.bz2")
sha256sums=('ed0b0a2846aa2d6c4cfff294ac8e82148fce6d44a6363af7ca63d32557edfc98')

build() {
  cd "$srcdir/metronomek-$_pkgver-source"
  mkdir "$srcdir/metronomek-$_pkgver-source/build"
  cd "$srcdir/metronomek-$_pkgver-source/build"
  cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='/usr'
  make
}

package() {
  cd "$srcdir/metronomek-$_pkgver-source/build"
  make DESTDIR="$pkgdir/" install
}