summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2010-07-05 16:37:41 +0000
committerMichał Górny <mgorny@gentoo.org>2010-07-05 16:37:41 +0000
commit99bf0618ca2d61bc223d32634d902aa08af7112c (patch)
treed503867e9cc610c790d8162f17a0800fc6061e24 /media-sound/scala-bin/scala-bin-2.2.ebuild
parentmedia-sound/peapod: Fix HOMEPAGE and SRC_URI, whitespace. (diff)
downloadsunrise-99bf0618ca2d61bc223d32634d902aa08af7112c.tar.gz
sunrise-99bf0618ca2d61bc223d32634d902aa08af7112c.tar.bz2
sunrise-99bf0618ca2d61bc223d32634d902aa08af7112c.zip
media-sound/scala-bin: Update HOMEPAGE and SRC_URI, cleanup.
svn path=/sunrise/; revision=10899
Diffstat (limited to 'media-sound/scala-bin/scala-bin-2.2.ebuild')
-rw-r--r--media-sound/scala-bin/scala-bin-2.2.ebuild31
1 files changed, 13 insertions, 18 deletions
diff --git a/media-sound/scala-bin/scala-bin-2.2.ebuild b/media-sound/scala-bin/scala-bin-2.2.ebuild
index f71852ddb..026767cd6 100644
--- a/media-sound/scala-bin/scala-bin-2.2.ebuild
+++ b/media-sound/scala-bin/scala-bin-2.2.ebuild
@@ -2,14 +2,14 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit versionator eutils fdo-mime gnome2-utils
+inherit eutils fdo-mime gnome2-utils versionator
-MY_PV="$(delete_all_version_separators ${PV})"
+MY_PV=$(delete_all_version_separators ${PV})
MY_P="${PN/-bin}-${MY_PV}-pc-linux"
-DESCRIPTION="Scala is a powerful software tool for experimentation with musical tunings."
-HOMEPAGE="http://www.xs4all.nl/~huygensf/scala/"
-SRC_URI="http://www.xs4all.nl/~huygensf/software/${MY_P}.tar.bz2"
+DESCRIPTION="Powerful software tool to experiment with musical tunings"
+HOMEPAGE="http://www.huygens-fokker.org/scala/"
+SRC_URI="http://www.huygens-fokker.org/software/${MY_P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
@@ -19,10 +19,9 @@ IUSE="midi"
RDEPEND="=virtual/gnat-4.1*
>=dev-ada/gtkada-2.8.0
midi? ( media-sound/playmidi )"
-DEPEND=""
RESTRICT="mirror strip test"
-S="${WORKDIR}/${MY_P}"
+S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
@@ -30,10 +29,6 @@ src_unpack() {
rm -f libgtkada-2.8.so.0 || die "cannot delete bundled gtkada"
}
-src_compile() {
- einfo "Nothing to compile, installing..."
-}
-
src_install() {
for i in html xpm ; do
insinto /opt/${PN}/${i}
@@ -50,14 +45,14 @@ src_install() {
doexe scala || die "failed to install main binary"
dosym /opt/${PN}/scala /opt/bin/scala
- doicon "${FILESDIR}"/${PN}.png
- make_desktop_entry scala Scala ${PN} "AudioVideo;Audio;GNOME;GTK;Midi;Music" /opt/${PN}
+ doicon "${FILESDIR}"/${PN}.png || die
+ make_desktop_entry scala Scala ${PN} \
+ 'AudioVideo;Audio;GNOME;GTK;Midi;Music' Path=/opt/${PN}
- local docs="cmdlist.txt commands.txt dummies.txt first.txt readme.txt"
- dodoc ${docs}
+ dodoc cmdlist.txt commands.txt dummies.txt first.txt readme.txt || die
- echo "SCALA_HOME=\"/opt/scala-bin\"" > "${T}"/99${PN}
- doenvd "${T}"/99${PN}
+ echo 'SCALA_HOME="/opt/scala-bin"' > "${T}"/99${PN}
+ doenvd "${T}"/99${PN} || die
}
pkg_postinst() {
@@ -65,7 +60,7 @@ pkg_postinst() {
gnome2_icon_cache_update
elog "A collection of over 3600 scales can be downloaded from"
- elog "http://www.xs4all.nl/~huygensf/doc/scales.zip"
+ elog " http://www.huygens-fokker.org/docs/scales.zip"
elog "Unpack them to /opt/${PN}/scl directory using unzip -a scales.zip command."
elog
elog "NOTE: The -a option is important! The files cannot be opened if"