makedeb


librewolf-bin 111.0-3


Web Browser

Click here to go back to the commit logs for librewolf-bin.

Commit:


Hash: 69cf14db2f3e479e3b8de1376ccb888dec226834

Message: fix icon issue

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 493ca06..0ae0bbc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,13 +3,17 @@ generated-by = makedeb-makepkg
 pkgbase = librewolf-bin
 	pkgdesc = Web Browser
 	pkgver = 93.0.1
-	pkgrel = 1
+	pkgrel = 2
 	url = https://gitlab.com/librewolf-community
 	arch = x86_64
 	license = Mozilla Public License 2.0
-	source = https://gitlab.com/librewolf-community/browser/linux/-/jobs/1579390842/artifacts/raw/LibreWolf-92.0-1.x86_64.tar.bz2
+	provides = librewolf
+	conflicts = librewolf
+	source = https://gitlab.com/librewolf-community/browser/linux/-/jobs/1661832058/artifacts/raw/LibreWolf-93.0-1.x86_64.tar.bz2
 	source = librewolf.desktop
-	sha256sums = SKIP
-	sha256sums = SKIP
+	source = https://gitlab.com/librewolf-community/branding/-/raw/master/icon/icon.svg
+	sha256sums = ae6e5d37413b8a39ac87675cf22a9a89ad8770dfd03333a9d2182b9dd2d0ac1b
+	sha256sums = cbc7640995ddcc9a9356125f486d7371a5b63e26da9a569b07a326c9ed796d0e
+	sha256sums = b85d68f1b5b47b9b2c3a3e6b5f5a0f887577e0eb6ee8387fb7b81f5f8e4017c4
 
 pkgname = librewolf-bin
diff --git a/PKGBUILD b/PKGBUILD
index aa75090..aacba19 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,27 @@
 pkgname=librewolf-bin
 _pkgname=librewolf
 pkgdesc="Web Browser"
-pkgrel=1
+pkgrel=2
 pkgver=93.0.1
 arch=('x86_64')
 url="https://gitlab.com/librewolf-community"
-source=("https://gitlab.com/librewolf-community/browser/linux/-/jobs/1661832058/artifacts/raw/LibreWolf-93.0-1.x86_64.tar.bz2" 
-	"librewolf.desktop")
-	license=('Mozilla Public License 2.0')
-sha256sums=('SKIP' 'SKIP')
+license=('Mozilla Public License 2.0')
+provides=('librewolf')
+conflicts=('librewolf')
+source=("$url/browser/linux/-/jobs/1661832058/artifacts/raw/LibreWolf-93.0-1.x86_64.tar.bz2" 
+        "librewolf.desktop"
+        "$url/branding/-/raw/master/icon/icon.svg")
+sha256sums=('ae6e5d37413b8a39ac87675cf22a9a89ad8770dfd03333a9d2182b9dd2d0ac1b'
+            'cbc7640995ddcc9a9356125f486d7371a5b63e26da9a569b07a326c9ed796d0e'
+            'b85d68f1b5b47b9b2c3a3e6b5f5a0f887577e0eb6ee8387fb7b81f5f8e4017c4')
 
 package() {
     cd "$srcdir"
     mkdir -p "$pkgdir/usr/local/bin"
     install -d -m755 "$pkgdir/usr/local/lib/$pkgname"
-    install -Dm644 "$srcdir/$_pkgname.desktop" -t "$pkgdir/usr/local/share/applications"
+    install -Dm644 "$_pkgname.desktop" -t "$pkgdir/usr/local/share/applications"
     cp -r ./* "$pkgdir/usr/local/lib/$pkgname"
     ln -rs "$pkgidr/usr/local/lib/$pkgname/librewolf" "$pkgdir/usr/local/bin/librewolf"
+    install -D -m644 icon.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg
 }
 
diff --git a/librewolf.desktop b/librewolf.desktop
index 790d12f..6f41f38 100644
--- a/librewolf.desktop
+++ b/librewolf.desktop
@@ -1,7 +1,74 @@
 [Desktop Entry]
 Version=1.0
 Name=Librewolf
+GenericName=Web Browser
+Comment=Browse the World Wide Web
 Exec=librewolf
+Icon=librewolf
 Type=Application
 Terminal=false
-MimeType=text/html;text/xml;application/xhtml_xml;
+StartupNotify=true
+Keywords=Internet;WWW;Browser;Web;Explorer
+MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
+Actions=new-window;new-private-window;
+
+[Desktop Action new-window]
+Name=Open a New Window
+Name[ar]=افتح نافذة جديدة
+Name[ast]=Abrir una ventana nueva
+Name[bn]=Abrir una ventana nueva
+Name[ca]=Obre una finestra nova
+Name[cs]=Otevřít nové okno
+Name[da]=Åbn et nyt vindue
+Name[de]=Ein neues Fenster öffnen
+Name[el]=Νέο παράθυρο
+Name[es]=Abrir una ventana nueva
+Name[fi]=Avaa uusi ikkuna
+Name[fr]=Ouvrir une nouvelle fenêtre
+Name[gl]=Abrir unha nova xanela
+Name[he]=פתיחת חלון חדש
+Name[hr]=Otvori novi prozor
+Name[hu]=Új ablak nyitása
+Name[it]=Apri una nuova finestra
+Name[ja]=新しいウィンドウを開く
+Name[ko]=새 창 열기
+Name[ku]=Paceyeke nû veke
+Name[lt]=Atverti naują langą
+Name[nb]=Åpne et nytt vindu
+Name[nl]=Nieuw venster openen
+Name[pt]=Abrir nova janela
+Name[pt_BR]=Abrir nova janela
+Name[ro]=Deschide o fereastră nouă
+Name[ru]=Новое окно
+Name[sk]=Otvoriť nové okno
+Name[sl]=Odpri novo okno
+Name[sv]=Öppna ett nytt fönster
+Name[tr]=Yeni pencere aç 
+Name[ug]=يېڭى كۆزنەك ئېچىش
+Name[uk]=Відкрити нове вікно
+Name[vi]=Mở cửa sổ mới
+Name[zh_CN]=新建窗口
+Name[zh_TW]=開啟新視窗
+Exec=librewolf -new-window
+
+[Desktop Action new-private-window]
+Name=Open a New Private Window
+Name[ar]=افتح نافذة جديدة للتصفح الخاص
+Name[ca]=Obre una finestra nova en mode d'incògnit
+Name[cs]=Otevřít nové anonymní okno
+Name[de]=Ein neues privates Fenster öffnen
+Name[el]=Νέο ιδιωτικό παράθυρο
+Name[es]=Abrir una ventana privada nueva
+Name[fi]=Avaa uusi yksityinen ikkuna
+Name[fr]=Ouvrir une nouvelle fenêtre de navigation privée
+Name[he]=פתיחת חלון גלישה פרטית חדש
+Name[hu]=Új privát ablak nyitása
+Name[it]=Apri una nuova finestra anonima
+Name[nb]=Åpne et nytt privat vindu
+Name[ru]=Новое приватное окно
+Name[sl]=Odpri novo okno zasebnega brskanja
+Name[sv]=Öppna ett nytt privat fönster
+Name[tr]=Yeni gizli pencere aç
+Name[uk]=Відкрити нове вікно у потайливому режимі
+Name[zh_TW]=開啟新隱私瀏覽視窗
+Exec=librewolf -private-window