eyeD3: python -> python2 in /usr/bin/eyeD3

/usr/bin/eyeD3 is a shell script, so is ignored by our shebangs rewrite
hook.

Closes #7960.
This commit is contained in:
Alessio Sergi 2017-10-15 20:13:58 +02:00
parent 972006e380
commit 16830a361f
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'eyeD3' # Template file for 'eyeD3'
pkgname=eyeD3 pkgname=eyeD3
version=0.7.10 version=0.7.10
revision=1 revision=2
noarch=yes noarch=yes
build_style=python2-module build_style=python2-module
hostmakedepends="python-setuptools" hostmakedepends="python-setuptools"
@ -13,3 +13,7 @@ license="GPL-2"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${homepage}/releases/${pkgname}-${version}.tar.gz" distfiles="${homepage}/releases/${pkgname}-${version}.tar.gz"
checksum=98a7d249136e845eb5469866657160f623d0a44f602e59bc907a12a3bf665172 checksum=98a7d249136e845eb5469866657160f623d0a44f602e59bc907a12a3bf665172
post_install() {
sed -i 's/python/python2/' ${DESTDIR}/usr/bin/eyeD3
}