summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b4035f3a1deae955cad2254c306a94f601a6021c (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
34
35
# $Id$
# Maintainer: Fernando Fernandez <fernando@softwareperonista.com.ar>

_project_name=rockarrolla
pkgname=${_project_name}-git
pkgver=1.4.r0.g71f6041
pkgrel=1
pkgdesc='A simple jukebox emulator'
arch=('x86_64')
license=('GPL3')
url='https://gitlab.com/softwareperonista/rockarrolla'
depends=('libadwaita' 'doctrina' 'gst-plugins-good' 'gxml' 'qrencode')
makedepends=('meson' 'vala')
conflicts=('rockarrolla')
source=('git+https://gitlab.com/softwareperonista/rockarrolla.git')
sha256sums=('SKIP')

pkgver() {
  cd ${_project_name}
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd ${_project_name}

  arch-meson . build

  ninja -C build
}

package() {
  cd ${_project_name}

  DESTDIR="$pkgdir" ninja -C build install
}