summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122020-01-15 11:18:02 +0100
committerwillemw122020-01-15 11:24:36 +0100
commit8ed243d6471bae994b952964ff91ccfc4851acf7 (patch)
tree0435c130abfcf0c89b00a66045b5620ad9b5b393
parent59fcf7a67c6581da10a9a6a90cf082a7ad84f645 (diff)
downloadaur-8ed243d6471bae994b952964ff91ccfc4851acf7.tar.gz
Remove "depends" (python, nodejs)
Change service type from forking to simple
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD25
-rw-r--r--sickchill.service7
3 files changed, 12 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3f491b0370e..36984221ffb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,29 +1,23 @@
pkgbase = sickchill-git
pkgdesc = Automatic video library manager for TV shows
- pkgver = 2018.10.27.2.r1.g4f7a2a56d
+ pkgver = 2020.01.14.2.r0.g4dedd01fc
pkgrel = 1
url = https://github.com/SickChill/SickChill
install = sickchill-git.install
arch = any
license = GPL3
makedepends = git
- depends = nodejs
- depends = python2-babel
- depends = python2-cheetah
- depends = python2-mako
optdepends = python2-notify: desktop notifications
optdepends = unrar: RAR archives
provides = sickchill
- provides = sickrage
conflicts = sickchill
- conflicts = sickrage
options = !strip
source = sickchill-git::git+https://github.com/SickChill/SickChill.git
source = sickchill.service
source = sickchill.sysusers
source = sickchill.tmpfile
md5sums = SKIP
- md5sums = fd497f3e93f4920f39714be53b0f8809
+ md5sums = 5f5c96bdeb4eb5665af2bcebf0ceca53
md5sums = 97fb191af2e326d5aba2cf58270b4feb
md5sums = 515f13e391105a716ef6763ba8533fc7
diff --git a/PKGBUILD b/PKGBUILD
index c35a26ee4bb..4d339573806 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,13 @@
# Maintainer: willemw <willemw12@gmail.com>
-_pkgname=sickchill
-pkgname=$_pkgname-git
-pkgver=2018.10.27.2.r1.g4f7a2a56d
+pkgname=sickchill-git
+pkgver=2020.01.14.2.r0.g4dedd01fc
pkgrel=1
pkgdesc="Automatic video library manager for TV shows"
arch=('any')
url="https://github.com/SickChill/SickChill"
license=('GPL3')
-#'python2-vcr' 'unrar'
makedepends=('git')
-depends=('nodejs' 'python2-babel' 'python2-cheetah' 'python2-mako')
# 'deluge: supported torrent client'
# 'qbittorrent: supported torrent client'
# 'rtorrent: supported torrent client'
@@ -18,16 +15,16 @@ depends=('nodejs' 'python2-babel' 'python2-cheetah' 'python2-mako')
# 'transmission-cli: supported torrent client'
optdepends=('python2-notify: desktop notifications'
'unrar: RAR archives')
-provides=($_pkgname 'sickrage')
-conflicts=($_pkgname 'sickrage')
+provides=(${pkgname%-git})
+conflicts=(${pkgname%-git})
options=('!strip')
install=$pkgname.install
-source=("$pkgname::git+https://github.com/SickChill/SickChill.git"
+source=("$pkgname::git+$url.git"
'sickchill.service'
'sickchill.sysusers'
'sickchill.tmpfile')
md5sums=('SKIP'
- 'fd497f3e93f4920f39714be53b0f8809'
+ '5f5c96bdeb4eb5665af2bcebf0ceca53'
'97fb191af2e326d5aba2cf58270b4feb'
'515f13e391105a716ef6763ba8533fc7')
@@ -36,11 +33,6 @@ pkgver() {
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-#prepare() {
-# cd $pkgname
-# sed -i 's/UnRAR2/unrar2/g' lib/unrar2/test_UnRAR2.py
-#}
-
#build() {
# cd $pkgname
# python2 setup.py --quiet build
@@ -49,9 +41,6 @@ pkgver() {
#check() {
# cd $pkgname
# python2 setup.py test
-#
-# cd lib/unrar2
-# PYTHONPATH="$(pwd)/..:$PYTHONPATH" python2 test_UnRAR2.py
#}
package() {
@@ -64,7 +53,7 @@ package() {
# The install type is "source": .git folder is not included
#cd $pkgname
#python2 setup.py install --prefix=/opt/sickchill/app --install-lib=/opt/sickchill/app --root="$pkgdir" --optimize=1
- cp -rp $pkgname/* "$pkgdir/opt/sickchill/app/"
+ cp -a $pkgname/* "$pkgdir/opt/sickchill/app/"
warning "If the upgrade fails with \"error: failed to commit transaction (conflicting files)\", then uninstall first"
}
diff --git a/sickchill.service b/sickchill.service
index 7c548e0722b..7f3cb032ea8 100644
--- a/sickchill.service
+++ b/sickchill.service
@@ -7,10 +7,9 @@ Restart=on-success
User=sickchill
Group=sickchill
-Type=forking
-GuessMainPID=no
-#ExecStart=/usr/bin/env python2 /opt/sickchill/app/SickBeard.py --quiet --daemon --nolaunch --datadir=/opt/sickchill/data
-ExecStart=/usr/bin/python2 /opt/sickchill/app/SickBeard.py --quiet --daemon --nolaunch --datadir=/opt/sickchill/data
+Type=simple
+#ExecStart=/usr/bin/env python2 ...
+ExecStart=/usr/bin/python2 /opt/sickchill/app/SickBeard.py --quiet --nolaunch --datadir=/opt/sickchill/data
[Install]
WantedBy=multi-user.target