Skip to content

Instantly share code, notes, and snippets.

@tlvince
Created October 30, 2010 05:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlvince/655010 to your computer and use it in GitHub Desktop.
Save tlvince/655010 to your computer and use it in GitHub Desktop.
--- 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