makedeb


firefox-developer-edition 104.0b5-3


Firefox Developer Edition

Click here to go back to the commit logs for firefox-developer-edition.

Commit:


Hash: d5dabebb5a57f8780e0c99d62e18f159905de4f5

Message: Adds deps, download in source, fixes maintainers

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 5d2e4b5..0139ed6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,43 @@
 pkgbase = firefox-developer-edition
 	pkgdesc = Firefox Developer Edition
 	pkgver = 92.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://www.mozilla.org/en-US/firefox/developer/
 	arch = x86_64
 	license = MPL 2.0
+	depends = lsb-release
+	depends = libatk1.0-0
+	depends = libc6
+	depends = libcairo-gobject2
+	depends = libcairo2
+	depends = libdbus-1-3
+	depends = libdbus-glib-1-2
+	depends = libfontconfig1
+	depends = libfreetype6
+	depends = libgcc-s1
+	depends = libgdk-pixbuf-2.0-0
+	depends = libglib2.0-0
+	depends = libgtk-3-0
+	depends = libharfbuzz0b
+	depends = libpango-1.0-0
+	depends = libpangocairo-1.0-0
+	depends = libpangoft2-1.0-0
+	depends = libstdc++6
+	depends = libx11-6
+	depends = libx11-xcb1
+	depends = libxcb-shm0
+	depends = libxcb1
+	depends = libxcomposite1
+	depends = libxcursor1
+	depends = libxdamage1
+	depends = libxext6
+	depends = libxfixes3
+	depends = libxi6
+	depends = libxrender1
+	depends = libxt6
+	source = firefox-developer-edition-92.0-x86_64.tar.bz2::https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64
 	source = firefox-developer.desktop
+	sha256sums = SKIP
 	sha256sums = eee596b22c04ee4310464ac2368659dbdd8e73fc63baf1ab147afb159314fa0f
 
 pkgname = firefox-developer-edition
diff --git a/PKGBUILD b/PKGBUILD
index 3d05649..b10e3b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,31 @@
-# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
+# Maintainer: Rafael "Auyer" Passos <auyer@rcpassos.me>
 pkgname=firefox-developer-edition
 pkgver=92.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Firefox Developer Edition"
 arch=('x86_64')
-depends=()
+depends=('lsb-release' 'libatk1.0-0' 'libc6' 'libcairo-gobject2' 'libcairo2' 'libdbus-1-3' 'libdbus-glib-1-2' 'libfontconfig1' 'libfreetype6' 'libgcc-s1' 'libgdk-pixbuf-2.0-0' 'libglib2.0-0' 'libgtk-3-0' 'libharfbuzz0b' 'libpango-1.0-0' 'libpangocairo-1.0-0' 'libpangoft2-1.0-0' 'libstdc++6' 'libx11-6' 'libx11-xcb1' 'libxcb-shm0' 'libxcb1' 'libxcomposite1' 'libxcursor1' 'libxdamage1' 'libxext6' 'libxfixes3' 'libxi6' 'libxrender1' 'libxt6')
 license=('MPL 2.0')
 url="https://www.mozilla.org/en-US/firefox/developer/"
 
-# Maintainer: Rafael "Auyer" Passos <auyer@rcpassos.me>
-
-source=("firefox-developer.desktop")
-sha256sums=('eee596b22c04ee4310464ac2368659dbdd8e73fc63baf1ab147afb159314fa0f')
+source=(
+	"${pkgname}-${pkgver}-x86_64.tar.bz2::https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64"
+	"firefox-developer.desktop")
+sha256sums=(
+	'SKIP'
+	'eee596b22c04ee4310464ac2368659dbdd8e73fc63baf1ab147afb159314fa0f')
 
 package() {
-	# Download Firefox from mozilla
-	wget "https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64" -O /tmp/firefox-developer.tar.bz2
 
 	# Create necessary folders in fakeroot
 	mkdir -p "${pkgdir}"/opt/firefox-developer/ "${pkgdir}"/usr/bin/ "${pkgdir}"/usr/share/applications/
 
-	# untar firefox-developer 
-	tar -jxvf  /tmp/firefox-developer.tar.bz2 -C "${pkgdir}"/opt/firefox-developer/
+	# move downloaded contents into desired folder
+	mv "${srcdir}"/firefox  "${pkgdir}"/opt/firefox-developer/
 
 	# link binary
 	ln -sf "${pkgdir}"/opt/firefox-developer/firefox/firefox "${pkgdir}"/usr/bin/firefox-developer
 	
 	# copy desktop entry
-	cp "${srcdir}"/firefox-developer.desktop "${pkgdir}"/usr/share/applications/firefox-developer.desktop
+	mv "${srcdir}"/firefox-developer.desktop "${pkgdir}"/usr/share/applications/firefox-developer.desktop
 }