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

pkgname=mp3fs-git
pkgver=20191117
pkgrel=1
pkgdesc="A read-only FUSE filesystem which transcodes audio formats (currently FLAC) to MP3 on the fly when opened and read."
arch=("x86_64")
url="http://khenriks.github.com/mp3fs/"
license=("GPL")
depends=("fuse" "flac" "lame" "libid3tag")
makedepends=("git" "asciidoc")
conflicts=("mp3fs")
source=('git://github.com/khenriks/mp3fs.git')
sha256sums=('SKIP')

build() {
    cd "$srcdir/mp3fs"

    ./autogen.sh
    ./configure --prefix=/usr
    make || return 1
}

package() {
    cd "$srcdir/mp3fs"
    make PREFIX=/usr sysconfdir=/etc localstatedir=/var DESTDIR="$pkgdir" install
}