Created
April 4, 2018 05:14
-
-
Save shizeeg/5a1b4507191849c9ba24220968afa326 to your computer and use it in GitHub Desktop.
torrent-mount v1.4.2 updated & fixed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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