public
Created

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/PKGBUILD b/PKGBUILD.new
old mode 100755
new mode 100644
index 4f28743..66ea7df
--- a/PKGBUILD
+++ b/PKGBUILD.new
@@ -2,16 +2,16 @@
# Contributor: dryes <joswiseman@gmail>
pkgname='sabnzbd-develop-git'
-pkgver=20110930
+pkgver=20130207
pkgrel=1
pkgdesc='A web-interface based binary newsgrabber with NZB file support. develop branch'
arch=('any')
url='http://www.sabnzbd.org/'
license=('GPL')
-depends=('par2cmdline' 'python2' 'python-cheetah' 'python2-feedparser' 'python2-yenc' 'python2-pyopenssl' 'python2-gntp' 'unrar' 'unzip' 'zip' 'sqlite3' 'curl')
+depends=('par2cmdline' 'python2' 'python2-cheetah' 'python2-feedparser' 'python2-yenc' 'python2-pyopenssl' 'python2-gntp' 'unrar' 'unzip' 'zip' 'sqlite3' 'curl')
makedepends=('git')
backup=('etc/conf.d/sabnzbd')
-install=('sabnzbd.install')
+install='sabnzbd.install'
conflicts=('sabnzbd' 'sabnzbd-bzr' 'sabnzbd-git')
provides=('sabnzbd')
replaces=('sabnzbd-bzr')
@@ -28,6 +28,7 @@ build() {
if [ -d ${_gitname} ] ; then
cd ${_gitname} && git pull origin
+ cd "$srcdir"
msg "The local files are updated."
else
git clone ${_gitroot} ${_gitname} -b ${_branch} --depth=1
@@ -35,7 +36,7 @@ build() {
msg "GIT checkout done or server timeout"
- cd sabnzbd
+ cd "$_gitname"
sed -i "s/system('python /system('python2 /" package.py
sed -i "/win\//d" package.py
python2 ./package.py source

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.