mirror of
https://github.com/archlinux/aur.git
synced 2026-02-21 04:57:06 +01:00
sync netflix-desktop with upstread
This commit is contained in:
parent
4612f9c582
commit
de3d209dd5
2 changed files with 20 additions and 9 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,15 +1,15 @@
|
|||
pkgbase = wine-browser-installer
|
||||
pkgdesc = Browser installer for wine-silverlight, shared between netflix-desktop and pipelight
|
||||
pkgver = 1
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = https://launchpad.net/netflix-desktop
|
||||
arch = any
|
||||
license = LGPL2.1
|
||||
license = MIT
|
||||
depends = ttf-ms-fonts
|
||||
depends = wget
|
||||
source = https://launchpad.net/netflix-desktop/trunk/0.8.4/+download/netflix-desktop.tar.gz
|
||||
md5sums = 2c7812e368ea681fb22a1f904c1bc6fc
|
||||
source = https://launchpad.net/netflix-desktop/trunk/0.8.5/+download/netflix-desktop.tar.gz
|
||||
md5sums = 139aa89ce9536ff860445ec67777f81a
|
||||
|
||||
pkgname = wine-browser-installer
|
||||
|
||||
|
|
|
|||
23
PKGBUILD
23
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Anish Bhatt <anish [at] gatech [dot] edu>
|
||||
pkgname=wine-browser-installer
|
||||
pkgver=1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
epoch=
|
||||
pkgdesc="Browser installer for wine-silverlight, shared between netflix-desktop and pipelight"
|
||||
arch=('any')
|
||||
|
|
@ -14,18 +14,25 @@ _pkname=netflix-desktop
|
|||
optdepends=()
|
||||
#install=
|
||||
#changelog=
|
||||
source=(https://launchpad.net/${_pkname}/trunk/0.8.4/+download/${_pkname}.tar.gz)
|
||||
source=(https://launchpad.net/${_pkname}/trunk/0.8.5/+download/${_pkname}.tar.gz)
|
||||
#noextract=()
|
||||
md5sums=('2c7812e368ea681fb22a1f904c1bc6fc')
|
||||
md5sums=('139aa89ce9536ff860445ec67777f81a')
|
||||
|
||||
prepare() {
|
||||
pushd "${srcdir}/${_pkname}/${pkgname}"
|
||||
pushd "${srcdir}/${_pkname}"
|
||||
pushd "${pkgname}"
|
||||
sed -i 's|wine-browser-installer|wine-silverlight|g' hw-accel-default
|
||||
sed -i 's|wine-browser-installer|wine-silverlight|g' gizmos
|
||||
sed -i "5 a\# Use [ -t 0 ] only when running manually from command line" hw-accel-default
|
||||
sed -i '8s|^|#|g' hw-accel-default
|
||||
sed -i '10,12s|^|#|g' hw-accel-default
|
||||
#sed -i '8s|^|#|g' hw-accel-default
|
||||
#sed -i '10,12s|^|#|g' hw-accel-default
|
||||
sed -i '5s|/var/lib/wine-browser-installer|$HOME/.netflix-desktop|g' install-dependency
|
||||
sed -i '6s|browser-installer|silverlight|g' install-dependency
|
||||
popd
|
||||
pushd debian
|
||||
sed -i '4s|^|WINEARCH=win32 |g' wine-silverlight4-installer.install-script
|
||||
sed -i '6s|^|WINEARCH=win32 |g' wine-silverlight4-installer.install-script
|
||||
sed -i '6s|@@PACKAGE@@|SilverlightSetup|g' wine-silverlight4-installer.install-script
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
@ -35,6 +42,10 @@ package() {
|
|||
|
||||
install -Dm755 gizmos "${pkgdir}"/usr/share/wine-silverlight/.
|
||||
install -Dm755 hw-accel-default "${pkgdir}"/usr/share/wine-silverlight/.
|
||||
install -Dm755 install-dependency "${pkgdir}"/usr/share/wine-silverlight/.
|
||||
popd
|
||||
pushd debian
|
||||
install -Dm755 wine-silverlight4-installer.install-script "${pkgdir}"/usr/share/wine-silverlight/.
|
||||
popd
|
||||
# Install MIT license
|
||||
install -Dm644 "debian/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/Copyright.txt"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue