blob: e5ace72a093c555aad3f5f28fbf16e6afa0e1d00 (
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
44
45
46
47
48
49
|
# Maintainer: Attila Fidan <archlinux-buildsystem@print0.net>
pkgname=cyanrip-git
_gitname=${pkgname%-git}
pkgver=0.9.2.r19.g67ad970
pkgrel=1
pkgdesc="Fully featured CD ripping program"
url="https://github.com/cyanreg/cyanrip"
license=(LGPL-2.1-or-later)
arch=(x86_64)
depends=(
curl
glibc
libavcodec.so
libavformat.so
libswresample.so
libavfilter.so
libavutil.so
libcdio
libcdio-paranoia
libmusicbrainz5
)
makedepends=(
git
meson
ninja
)
provides=(cyanrip)
conflicts=(cyanrip)
source=("git+$url.git#branch=master")
b2sums=(SKIP)
pkgver() {
cd "$_gitname"
git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
meson setup --prefix=/usr --buildtype=plain cyanrip build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|