Skip to content

Instantly share code, notes, and snippets.

@naudster
Created May 3, 2023 04:25
Show Gist options
  • Save naudster/2ef7e0761419a6dbb6597101fc27eb2a to your computer and use it in GitHub Desktop.
Save naudster/2ef7e0761419a6dbb6597101fc27eb2a to your computer and use it in GitHub Desktop.
Working PGKBUILD for mp3fs-git - https://aur.archlinux.org/packages/mp3fs-git
# Maintainer: Matthew Gamble
# Contributor : Draje <draje@nullsum.net>
pkgname=mp3fs-git
pkgver=20230503
pkgrel=1
pkgdesc="A read-only FUSE filesystem which transcodes between audio formats (currently FLAC and Ogg Vorbis to MP3) on the fly when opened and read."
arch=("x86_64")
url="https://khenriks.github.io/mp3fs/"
license=("GPL")
depends=("fuse" "flac" "lame" "libid3tag" "libvorbis")
makedepends=("git" "asciidoc" "pandoc-cli")
conflicts=("mp3fs")
source=('git+https://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
}
@naudster
Copy link
Author

naudster commented May 3, 2023

This works for me but note:

  • I got this error output on completion of successful installation. Not sure why or if it matters.
    -> devel check for package failed: '/usr/bin/git ls-remote git://github.com/khenriks/mp3fs.git HEAD' encountered an error: signal: killed
  • new build dep 'pandoc-cli' depends on a couple of hundred haskell pkgs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment