mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
aur/couchpotato-git to 2993.b69f8b7-2, fixes #806
This commit is contained in:
parent
8e91bb8fd3
commit
9e765512bf
1 changed files with 11 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
pkgname=couchpotato-git
|
||||
_gitname=CouchPotatoServer
|
||||
pkgver=2993.b69f8b7
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Automatic Movie Downloading via NZBs & Torrent"
|
||||
arch=('any')
|
||||
url="http://couchpota.to/"
|
||||
|
@ -19,6 +19,16 @@ pkgver() {
|
|||
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $_gitname
|
||||
|
||||
# Use Python 2
|
||||
find . -type f -exec sed -i -r \
|
||||
-e 's|/usr/bin/python$|&2|g' \
|
||||
-e 's|(/usr/bin/python2)\.4$|\1|g' \
|
||||
{} +
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "${pkgdir}/opt/"
|
||||
cp -r "$srcdir/$_gitname" "${pkgdir}/opt/couchpotato"
|
||||
|
|
Loading…
Reference in a new issue