Last active
August 29, 2021 21:20
-
-
Save bobpaul/746374dea7469a85038f40f08815c108 to your computer and use it in GitHub Desktop.
nzbget-ppscript-nzbtomedia-git with dependencies fixed.
This file contains hidden or 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: TwoLeaves < ohneherren at gmail dot com > | |
pkgname=nzbget-ppscript-nzbtomedia-git | |
pkgver=2627.f9dde627 | |
pkgrel=1 | |
arch=(any) | |
pkgdesc="Post-processing scripts to communicate with media managers." | |
url="https://github.com/clinton-hall/nzbToMedia" | |
license=('GPL3') | |
depends=('python') | |
makedepends=('git') | |
optdepends=('couchpotato' 'headphones' 'mylar-git' 'sickbeard' 'nzbget' 'sabnzbd' | |
'ffmpeg: to use the transcoding option') | |
install=install | |
_gitname=nzbToMedia | |
source=("git://github.com/clinton-hall/${_gitname}") | |
md5sums=('SKIP') | |
pkgver() { | |
cd "${_gitname}" | |
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) | |
} | |
package() { | |
install -Dm644 "${_gitname}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" | |
install -dm755 ${pkgdir}/usr/share/nzbget/ppscripts | |
cp -a ${_gitname}/* ${pkgdir}/usr/share/nzbget/ppscripts | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After install, be sure to change ownership of the folders so sab can use the script:
sudo chown sabnzbd:sabnzbd /usr/share/nzbget/ppscripts