summaryrefslogtreecommitdiff
path: root/dev-haskell/gtk/gtk-0.12.5.7.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/gtk/gtk-0.12.5.7.2.ebuild')
-rw-r--r--dev-haskell/gtk/gtk-0.12.5.7.2.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-haskell/gtk/gtk-0.12.5.7.2.ebuild b/dev-haskell/gtk/gtk-0.12.5.7.2.ebuild
index 99600099e270..b4354a032e31 100644
--- a/dev-haskell/gtk/gtk-0.12.5.7.2.ebuild
+++ b/dev-haskell/gtk/gtk-0.12.5.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -7,15 +7,14 @@ EAPI=5
GTK_MAJ_VER="2"
-MY_PV="${PV%.*}"
-MY_P="${PN}-${MY_PV}"
+MY_P="${PN}-${PV%.*}"
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Binding to the Gtk+ graphical user interface library"
HOMEPAGE="http://projects.haskell.org/gtk2hs/"
-SRC_URI="mirror://hackage/packages/archive/${PN}/${MY_PV}/${MY_P}.tar.gz"
+SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"