media-sound/pamix: Prepare live ebuild for next release.
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 18 Aug 2016 09:31:39 +0000 (11:31 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 18 Aug 2016 09:31:54 +0000 (11:31 +0200)
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
media-sound/pamix/pamix-9999.ebuild

index 97f3fe1c284bde0e668046024392d1bf6ac64cd8..4c7c30fa60cc8b5a167bfae898270942372a1790 100644 (file)
@@ -4,7 +4,10 @@
 
 EAPI=6
 
-[[ "${PV}" == 9999 ]] && inherit autotools git-r3
+SCM=""
+[[ "${PV}" == 9999 ]] && SCM="git-r3"
+inherit autotools ${SCM}
+unset SCM
 
 DESCRIPTION="A PulseAudio NCurses mixer"
 HOMEPAGE="https://github.com/patroclos/PAmix"
@@ -24,15 +27,7 @@ RDEPEND="media-sound/pulseaudio
 DEPEND="virtual/pkgconfig
        ${RDEPEND}"
 
-src_unpack() {
-       [[ "${PV}" == 9999 ]] && git-r3_src_unpack
-       default
-}
-
 src_prepare() {
        default
-       if [[ "${PV}" == 9999 ]] ; then
-               sed 's@^pamix_LDFLAGS@pamix_LDADD@' -i Makefile.am || die
-               eautoreconf
-       fi
+       eautoreconf
 }