summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5dffb03db09d8219864823c56f25064670b35505 (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
# Contributor : Matthew Gamble
# Contributor : Draje <draje@nullsum.net>

pkgname=mp3fs-git
pkgver=1.1.1.r10.g0bda170
pkgrel=1
pkgdesc="FUSE-based transcoding filesystem from FLAC to MP3"
arch=("x86_64")
url="https://khenriks.github.io/mp3fs"
license=("GPL-3.0-or-later")
depends=("fuse" "flac" "lame" "libid3tag" "libvorbis")
makedepends=("git" "pandoc-cli")
conflicts=("mp3fs")
source=('git+https://github.com/khenriks/mp3fs.git')
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/mp3fs"
    git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./g'
}

build() {
    cd "$srcdir/mp3fs"

    ./autogen.sh
    ./configure --prefix=/usr
    make
}

package() {
    cd "$srcdir/mp3fs"
    make DESTDIR="$pkgdir" install
}