Skip to content

Instantly share code, notes, and snippets.

@shizeeg
Created April 4, 2018 05:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shizeeg/5a1b4507191849c9ba24220968afa326 to your computer and use it in GitHub Desktop.
Save shizeeg/5a1b4507191849c9ba24220968afa326 to your computer and use it in GitHub Desktop.
torrent-mount v1.4.2 updated & fixed
# Maintainer: petRUShka <petrushkin@yandex.ru>
# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com>
pkgname=torrent-mount
pkgver=1.4.2
pkgrel=3
pkgdesc="Mount a torrent (or magnet link) as a filesystem in real time using torrent-stream and fuse. AKA MAD SCIENCE!"
arch=('any')
url="https://github.com/mafintosh/torrent-mount"
license=('MIT')
depends=('nodejs' 'fuse' 'python2')
makedepends=('npm')
source=("https://github.com/mafintosh/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('aaafc97bec8d833fc54c00a8efba015f')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
export PYTHON=python2.7
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
npm install -g --user root --prefix "${pkgdir}/usr" "${srcdir}/v${pkgver}.tar.gz"
rm -r "${pkgdir}/usr/etc"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment