Matt Parnell 8 years ago
parent
commit
8c06422da1
2 changed files with 9 additions and 1 deletions
  1. 1 1
      .SRCINFO
  2. 8 0
      PKGBUILD

+ 1 - 1
.SRCINFO

@@ -1,5 +1,5 @@
 # Generated by mksrcinfo v8
-# Fri Jan  6 05:24:14 UTC 2017
+# Tue Feb 14 19:15:49 UTC 2017
 pkgbase = ungoogled-chromium
 	pkgdesc = Modifications to Google Chromium for removing Google integration and enhancing privacy, control, and transparency
 	pkgver = 55.0.2883.95

+ 8 - 0
PKGBUILD

@@ -95,4 +95,12 @@ package() {
 
 	msg2 "Installing main directory..."
 	mv "${pkgname}_${pkgver}-${pkgrel}" "$pkgdir/opt/${pkgname}"
+	
+	# thanks seo.disparate
+	msg2 "Ensuring packaged files are owned by root..."
+	chown -R root:root "$pkgdir"
+
+	msg2 "Fixing chromium-sandbox name and permissions..."
+	mv "$pkgdir/opt/$pkgname/chrome_sandbox" "$pkgdir/opt/$pkgname/chrome-sandbox"
+	chmod 4755 "$pkgdir/opt/$pkgname/chrome-sandbox"
 }