summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordryes2016-10-02 20:00:39 +0100
committerdryes2016-10-02 20:00:39 +0100
commit0a4eb3adc2534f68aeacc554d3a0669e497c8cb5 (patch)
treed07bf32b9b687d909417a21a946bb9305f20647e
downloadaur-0a4eb3adc2534f68aeacc554d3a0669e497c8cb5.tar.gz
first commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD22
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..86186bb23fe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = nzbinfo-git
+ pkgdesc = prints some info on input nzbs - just like mediainfo.
+ pkgver = 1
+ pkgrel = 1
+ url = https://github.com/dryes/nzbinfo
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = python2
+ depends = python2-pynzb
+ source = git://github.com/dryes/nzbinfo.git
+ md5sums = SKIP
+
+pkgname = nzbinfo-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4f2c28b21f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: dryes <joswiseman@cock.li>
+pkgname='nzbinfo-git'
+pkgver=1
+pkgrel=1
+pkgdesc='prints some info on input nzbs - just like mediainfo.'
+url='https://github.com/dryes/nzbinfo'
+arch=('any')
+license=('MIT')
+depends=('python2' 'python2-pynzb')
+makedepends=('git')
+source=('git://github.com/dryes/nzbinfo.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${pkgname%-git}"
+ echo $(git rev-list --count master)
+}
+
+package() {
+ mkdir -p "${pkgdir}/usr/bin"
+ install -D -m755 "${srcdir}/nzbsubs/nzbinfo.py" "${pkgdir}/usr/bin/nzbinfo"
+}