summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2530a209228bfb1794e795a0e719d0c856e78a3b (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: AtticFinder65536 <atticventilation-aur at protonmail dot com>

pkgname=cyanrip-git
pkgver=0.9.0.r15.g36b248b
pkgrel=2
pkgdesc='Fully featured CD ripping program'
arch=('x86_64')
url='https://github.com/cyanreg/cyanrip'
license=('GPL3')
depends=('curl' 'ffmpeg' 'libcdio-paranoia' 'libmusicbrainz5')
makedepends=('git' 'meson' 'ninja')
source=('git+https://github.com/cyanreg/cyanrip.git')
b2sums=('SKIP')
provides=('cyanrip')
conflicts=('cyanrip')

pkgver()
{
  cd cyanrip
  git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build()
{
  # default in meson.build: debugoptimized
  meson setup --prefix=/usr --buildtype=plain cyanrip build
  meson compile -C build
}

package()
{
  meson install -C build --destdir "$pkgdir"
}