makedeb


ungoogled-chromium-linchrome-bin 130.6723.123.130.0.6723.123.1356013-2


Portable Chromium ungoogled (A lightweight approach to removing Google web service dependency) for 64-bit Linux prebuilt binary by macchrome

Click here to go back to the commit logs for ungoogled-chromium-linchrome-bin.

Commit:


Hash: f4eb136ffea7d5e8adc40230fa22d0046e783353

Message: installing binaries to usr-local and minor improvement

Diff


diff --git a/.SRCINFO b/.SRCINFO
index f2517cc..57285bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
 pkgbase = ungoogled-chromium-linchrome-bin
 	pkgdesc = Portable Chromium ungoogled (A lightweight approach to removing Google web service dependency) for 64-bit Linux prebuilt binary by macchrome
 	pkgver = 93.0.4577.82.r902210
-	pkgrel = 3
+	pkgrel = 4
 	url = https://github.com/macchrome/linchrome
 	arch = x86_64
 	license = BSD-3-clause
diff --git a/PKGBUILD b/PKGBUILD
index eace35a..ae5c981 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
-
+# co-maintainer: zocker_160 <zocker1600 at posteo dot net>
 pkgname="ungoogled-chromium-linchrome-bin"
 _pkgname="ungoogled-chromium"
 pkgver='93.0.4577.82.r902210'
 __pkgver='93.0.4577.82-r902210'
 _pkgver='93.0.4577.82_1'
-pkgrel=3
+pkgrel=4
 arch=('x86_64')
 pkgdesc="Portable Chromium ungoogled (A lightweight approach to removing Google web service dependency) for 64-bit Linux prebuilt binary by macchrome"
 url="https://github.com/macchrome/linchrome"
@@ -23,21 +23,15 @@ sha512sums=('086a47bc962970820c4a5b79565dfd152f08483acb7d0174a23e81bc6d5b9ded07f
 '48439ea12897b6c1182704f3395948146497b43be8d3f746dd95292793172e2f7ba191edbbd6dacaff6291ec7abd920071ddb5b1ed9ca0531f1ed34d8c8a365b')
 
 package() {
-    cd ${srcdir}
-    install -D -m644 "${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
-    
-    cd "${srcdir}/${_pkgname}_${_pkgver}.vaapi_linux"
-    install -D -m644 "product_logo_48.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/${_pkgname}.png"
-    
     mkdir -p "${pkgdir}/opt/${_pkgname}"
-    mkdir -p "${pkgdir}/usr/bin"
-    
-    cp -vRf ./* "${pkgdir}/opt/${_pkgname}"
-    install -D -m4755 chrome_sandbox "${pkgdir}/opt/${_pkgname}/chrome-sandbox"
+    mkdir -p "${pkgdir}/usr/local/bin"
+    #mkdir -p "${pkgdir}/usr/share/applications"
+    install -Dm644 "${srcdir}/${_pkgname}.desktop" -t "${pkgdir}/usr/local/share/applications"
+    install -Dm644 "${srcdir}/${_pkgname}_${_pkgver}.vaapi_linux/product_logo_48.png" "${pkgdir}/usr/local/share/icons/hicolor/48x48/apps/${_pkgname}.png"
+    cp -vRf "${srcdir}/${_pkgname}_${_pkgver}.vaapi_linux/"* "${pkgdir}/opt/${_pkgname}/"
+    install -Dm4755 "${srcdir}/${_pkgname}_${_pkgver}.vaapi_linux/chrome_sandbox" "${pkgdir}/opt/${_pkgname}/chrome-sandbox"
     chown root:root "${pkgdir}/opt/${_pkgname}/chrome-sandbox"
-    
-    ln -s "${pkgdir}/opt/${_pkgname}/chrome-wrapper" "${pkgdir}/usr/bin/${_pkgname}"
+    ln -rs "${pkgdir}/opt/${_pkgname}/chrome-wrapper" "${pkgdir}/usr/local/bin/${_pkgname}"
     rm "${pkgdir}/opt/${_pkgname}/chrome_sandbox"
-    
     patch -d "${pkgdir}" -p1 < "${srcdir}/desktop-icon.patch"
 }
diff --git a/ungoogled-chromium.desktop b/ungoogled-chromium.desktop
index e0b084a..785d9a3 100644
--- a/ungoogled-chromium.desktop
+++ b/ungoogled-chromium.desktop
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Version=1.0
 Encoding=UTF-8
-Name=Chromium
+Name=Chromium(ungoogled)
 Exec=ungoogled-chromium %U
 Terminal=false
 Icon=ungoogled-chromium