Created
February 7, 2013 10:06
-
-
Save pearswj/4730029 to your computer and use it in GitHub Desktop.
This file contains 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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment