summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD26
-rw-r--r--opera-mobile-emulator.desktop6
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..0f57785e99ee
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = opera-mobile-emulator
+ pkgdesc = Emulator of Opera Mobile browser. Discontinued.
+ pkgver = 12.1
+ pkgrel = 1
+ url = https://www.opera.com/pl/developer/mobile-emulator
+ arch = i686
+ arch = x86_64
+ depends = lib32-glibc
+ depends = lib32-qt4
+ source = package.tar.gz::https://www.opera.com/download/get.pl?sub=++++&id=35129&location=360&nothanks=yes
+ source = opera-mobile-emulator.desktop
+ sha256sums = af7a6ec8c8ae3fdf84ea14b9cbfe032fa7af36ead510ae7ca5f295791a96889b
+ sha256sums = 5fa546d72ffc70508fcd289ba0ebc17c0dd3868c12c707ede8764c908881b8a7
+
+pkgname = opera-mobile-emulator
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..2c2b067b3338
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Tomasz Gąsior <tomaszgasior.pl>
+
+pkgname=opera-mobile-emulator
+pkgver=12.1
+pkgrel=1
+pkgdesc='Emulator of Opera Mobile browser. Discontinued.'
+arch=('i686' 'x86_64')
+url='https://www.opera.com/pl/developer/mobile-emulator'
+depends=('lib32-glibc' 'lib32-qt4')
+source=(
+ "package.tar.gz::https://www.opera.com/download/get.pl?sub=++++&id=35129&location=360&nothanks=yes"
+ "opera-mobile-emulator.desktop"
+)
+sha256sums=(
+ "af7a6ec8c8ae3fdf84ea14b9cbfe032fa7af36ead510ae7ca5f295791a96889b"
+ "5fa546d72ffc70508fcd289ba0ebc17c0dd3868c12c707ede8764c908881b8a7"
+)
+
+package() {
+ mkdir -p "$pkgdir/opt/opera-mobile-emulator" "$pkgdir/usr/bin" "$pkgdir/usr/share/applications"
+
+ cp -R "$srcdir/Opera_Mobile_Emulator_12.1_Linux/"* "$pkgdir/opt/opera-mobile-emulator/"
+ ln -s "/opt/opera-mobile-emulator/opera-mobile-emulator-launcher" "$pkgdir/usr/bin/opera-mobile-emulator"
+
+ cp "$srcdir/opera-mobile-emulator.desktop" "$pkgdir/usr/share/applications"
+} \ No newline at end of file
diff --git a/opera-mobile-emulator.desktop b/opera-mobile-emulator.desktop
new file mode 100644
index 000000000000..b12d19becbbd
--- /dev/null
+++ b/opera-mobile-emulator.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Name=Opera Mobile Emulator
+Exec=/opt/opera-mobile-emulator/opera-mobile-emulator-launcher
+Icon=/opt/opera-mobile-emulator/icon.png
+Categories=Development; \ No newline at end of file