summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f9e0cd37f9e67989f8d546791da4decbcf53b01 (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
# Maintainer: Ricardo Leuck <leuck.r at gmail>
pkgname=brewtarget
pkgver=2.3.0
pkgrel=1
pkgdesc="Beer calculator compatible with BeerSmith. Generates instructions from the recipe and interactive mash designer."
url="http://www.brewtarget.org/"
arch=('x86_64' 'i686')
license=('GPL3'
         'WTFPL-2')
depends=('qt5-tools' 'qt5-multimedia' 'qt5-svg' 'phonon')
optdepends=()
makedepends=('cmake')
conflicts=("${pkgname}-git")
backup=()
source=("${pkgname}-${pkgver}.zip"::"https://github.com/Brewtarget/${pkgname}/archive/v${pkgver}.zip")
md5sums=('SKIP')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING.GPLv3 "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.GPLv3"
}