wine-gecko: do not set an empty var; remove weird var.
This commit is contained in:
parent
6c1512889f
commit
104b49dc60
|
@ -1,9 +1,7 @@
|
|||
# Template file for 'wine-gecko'
|
||||
pkgname=wine-gecko
|
||||
pkgname2=wine_gecko
|
||||
version="1.7"
|
||||
revision=1
|
||||
gecko_arch=
|
||||
if [ "$XBPS_MACHINE" = "i686" ]; then
|
||||
gecko_arch="x86"
|
||||
checksum=2ed524e79cc88137b28430389af19cb032989311921462a29f72d6f121954913
|
||||
|
@ -28,7 +26,7 @@ create_wrksrc=yes
|
|||
do_extract() {
|
||||
# This is to avoid re-downloading it everytime this template is
|
||||
# edited with a revbump... without an actual version bump.
|
||||
cp -v "${XBPS_SRCDISTDIR}/${pkgname2}-${version}-${gecko_arch}.msi" \
|
||||
cp -v "${XBPS_SRCDISTDIR}/wine_gecko-${version}-${gecko_arch}.msi" \
|
||||
${wrksrc}
|
||||
}
|
||||
|
||||
|
@ -36,6 +34,6 @@ do_install() {
|
|||
# The actual installation within WINE occurs at runtime in whatever
|
||||
# WINEPREFIX is being used.
|
||||
mkdir -pv "${DESTDIR}/usr/share/wine/gecko"
|
||||
mv -v "${pkgname2}-${version}-${gecko_arch}.msi" \
|
||||
mv -v "wine_gecko-${version}-${gecko_arch}.msi" \
|
||||
"${DESTDIR}/usr/share/wine/gecko"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user