summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a3eb5283eda6bfb3ddcde3da10cc7f81c0cab79 (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
pkgname=kmetronome
pkgver=1.4.0
pkgrel=1
pkgdesc="MIDI metronome with KDE interface and based on the ALSA sequencer"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/kmetronome/"
license=('GPL')
depends=('alsa-lib' 'drumstick' 'pandoc' 'qt6-tools')
makedepends=('cmake')
source=(https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('7e8bc58fc18195b471c8cadd73e700f9')

build() {
          cd "${srcdir}/${pkgname}-${pkgver}"
          #sed -i 's_V4.1.2-Based_V4.2-Based_' doc/index.docbook
          #sed -i 's_dtd/kdex.dtd_customization/dtd/kdex.dtd_' doc/index.docbook
          mkdir build
          cd build
          cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
          make || return 1
}

package() {
	  cd "${srcdir}/${pkgname}-${pkgver}/build"
          make DESTDIR="${pkgdir}" install || return 1
}