summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc95d5d874597872b3d2dcb8b50f0d491e2fe7a8 (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: soloturn@gmail.com

_basename=meadowlark
pkgname="$_basename-git"
pkgver=0.0.0
pkgrel=1
pkgdesc="Opensource DAW (digital audio workstation)"
arch=('i686' 'x86_64')
url="https://github.com/MeadowlarkDAW/Meadowlark"
license=('GPL-3')
depends=()
makedepends=('git' 'rust')
conflicts=("$_basename")
provides=("$_basename")

source=("$pkgname::git+https://github.com/MeadowlarkDAW/$_basename.git")
sha1sums=('SKIP')

pkgver() {
  cd "$pkgname"
  #git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
  echo 0.0.0 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd ${pkgname}
  cargo build
}

package() {
  cd ${pkgname}
}