summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28632ad3b1cc7c5bcbc6ae668ef587724a72ff3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: dryes <joswiseman@cock.li>
pkgname='nzbsubs-git'
pkgver=16
pkgrel=1
pkgdesc='takes an nzb input and removes all non-subtitle files.'
url='https://github.com/dryes/nzbsubs'
arch=('any')
license=('MIT')
depends=('python2' 'python2-pynzb')
makedepends=('git')
source=('git://github.com/dryes/nzbsubs.git')
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  echo $(git rev-list --count master)
}

package() {
  mkdir -p "${pkgdir}/usr/bin"
  install -D -m755 "${srcdir}/nzbsubs/nzbsubs.py" "${pkgdir}/usr/bin/nzbsubs"
}