gnu: tremc: Update to 0.9.0-2.e06d08d.

* gnu/packages/bittorrent.scm (tremc): Update to 0.9.0-2.e06d08d.
[build-system]: Switch to the gnu-build-system.
[arguments]: Adjust accordingly.
This commit is contained in:
Leo Famulari 2017-12-30 04:29:11 -05:00
parent e2f37d6ab7
commit edc73cc2e5
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 10 additions and 21 deletions

View File

@ -177,8 +177,8 @@ XML-RPC over SCGI.")
(license l:gpl2+))) (license l:gpl2+)))
(define-public tremc (define-public tremc
(let ((commit "9755b50e9444566cff02c977edafdbb3e9750cbb") (let ((commit "e06d08d8d76aa0559593ffc1188f4a90100cdbdb")
(revision "1")) (revision "2"))
(package (package
(name "tremc") (name "tremc")
(version (git-version "0.9.0" revision commit)) (version (git-version "0.9.0" revision commit))
@ -191,29 +191,18 @@ XML-RPC over SCGI.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"05259qss5jka5ygwrh7cngyp6cgazbynji5pshgfzrd2d43pyfq5")))) "17rf74sajcn5fl718rgl2qk5mw5yz9hrh58hbcg4p55wrazzrm1i"))))
(build-system python-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; no test suite `(#:tests? #f ; no test suite
#:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; The software is just a Python script that must be ;; The software is just a Python script that must be copied into
;; copied into place. ;; place.
(delete 'build) (delete 'configure)
(replace 'install (delete 'build))))
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(man (string-append out "/share/man/man1"))
;; FIXME install zsh completions
(completions (string-append out "/etc/bash_completion.d")))
(install-file "tremc" bin)
(install-file "tremc.1" man)
(install-file
(string-append
"completion/bash/"
"transmission-remote-cli-bash-completion.sh")
completions)))))))
(synopsis "Console client for the Transmission BitTorrent daemon") (synopsis "Console client for the Transmission BitTorrent daemon")
(description "Tremc is a console client, with a curses interface, for the (description "Tremc is a console client, with a curses interface, for the
Transmission BitTorrent daemon.") Transmission BitTorrent daemon.")