summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50b8c3a85e9572c2cc7bcde6d1824d8410105ab4 (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
36
37
38
39
40
41
42
43
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Xyne <ac xunilhcra enyx, backwards>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: cs-cam - me.at.camdaniel.com
# Contributor: Sebastien Piccand <sebcactus gmail com>

pkgname=grimripper-git
pkgver=3.0.0.r8.g53011c9
pkgrel=1
pkgdesc="a graphical CD ripper and encoder, Gtk3 fork from GNOME"
arch=(x86_64)
url="https://gitlab.gnome.org/Salamandar/GrimRipper"
license=(GPL2)
depends=(gtk3 libcddb cdparanoia)
makedepends=(git meson ninja intltool)
optdepends=('lame: for mp3 support'
            'vorbis-tools: for ogg support'
            'fdkaac: for mp3 support'
            'flac: for flac support'
            'opus-tools: for opus support'
            'wavpack: for wavpack support'
            'musepack-tools: for musepack support'
            'mac: for monkey audio support')
provides=(grimripper)
conflicts=(grimripper)
source=("git+https://gitlab.gnome.org/Salamandar/GrimRipper.git")
sha512sums=('SKIP')

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

build() {
  cd GrimRipper
  meson build --prefix=/usr
  ninja -C build
}

package() {
  cd GrimRipper
  DESTDIR="${pkgdir}" ninja -C build install
}