From 95a9cd2236dafa5e47e5526bdfcf5dedf3247646 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 22 May 2012 12:50:03 +0200 Subject: [PATCH] adobe-flash-plugin: use skip_extraction and simplify. --- srcpkgs/adobe-flash-plugin/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/adobe-flash-plugin/template b/srcpkgs/adobe-flash-plugin/template index fa9cc7f9ee1..330535befdb 100644 --- a/srcpkgs/adobe-flash-plugin/template +++ b/srcpkgs/adobe-flash-plugin/template @@ -14,8 +14,9 @@ else fi distfiles="${_eula} ${_disttarball}" checksum="${_eulacksum} ${_distcksum}" -noextract=yes +skip_extraction="$(basename ${_eula})" create_srcdir=yes +create_wrksrc=yes short_desc="Adobe Flash Player plugin" maintainer="Juan RP " long_desc=" @@ -36,8 +37,6 @@ Add_dependency build nss-devel Add_dependency build libcurl-devel do_install() { - tar xfz "$XBPS_SRCDISTDIR/$pkgname-$version/$(basename ${_disttarball})" - vinstall libflashplayer.so 755 usr/lib/mozilla/plugins #vinstall usr/lib/kde4/kcm_adobe_flash_player.so 755 usr/lib/kde4 vinstall usr/bin/flash-player-properties 755 usr/bin