blob: b5da6198856c45eb475f07e8dcf92cc67827f50d (
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: Mark Wagie <mark dot wagie at proton dot me>
pkgname=freac-git
pkgver=1.1.7.r64.8360f601
pkgrel=1
pkgdesc="Audio converter and CD ripper with support for various popular formats and encoders."
arch=('x86_64')
url="https://www.freac.org"
license=('GPL-2.0-or-later')
depends=(
'boca-git'
'faac'
'faad2'
'hicolor-icon-theme'
'lame'
'libgudev'
'libmp4v2'
'libogg'
'libpng'
'libpulse'
'libvorbis'
'mpg123'
'opus'
'speex'
)
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/enzo1982/freac.git')
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname%-git}"
find . -type f -exec sed -i 's|/usr/local|/usr|g' {} \;
}
build() {
cd "${pkgname%-git}"
make
}
package() {
cd "${pkgname%-git}"
make DESTDIR="$pkgdir/" install
}
|