Created
October 30, 2010 05:53
-
-
Save tlvince/655010 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
--- PKGBUILD~ 2010-10-30 13:46:54.416667320 +0800 | |
+++ PKGBUILD 2010-10-30 13:50:30.010000655 +0800 | |
@@ -1,4 +1,5 @@ | |
# Contributor: Lex Rivera <x-demon@x-demon.org> | |
+# Contributor: Tom Vincent <http://www.tlvince.com/contact/> | |
pkgname=mpd-sima | |
pkgver=0.6.0 | |
pkgrel=1 | |
@@ -15,6 +16,11 @@ | |
build() { | |
cd ${srcdir}/mpd_sima_${pkgver} | |
+ | |
+# Python 2 fix | |
+sed -i 's_/usr/bin/env python_/usr/bin/env python2_' launch.sh | |
+sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' src/mpd_sima.py | |
+ | |
install -d ${pkgdir}/opt/mpd-sima/ | |
install -d ${pkgdir}/etc/rc.d/ | |
cp -r * ${pkgdir}/opt/mpd-sima |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment