makedeb


firefox-developer-edition 104.0b5-3


Firefox Developer Edition

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for firefox-developer-edition.

# Maintainer: Rafael "Auyer" Passos <auyer@rcpassos.me>
pkgname=firefox-developer-edition
pkgver=104.0b5
pkgrel=3
pkgdesc="Firefox Developer Edition"
arch=('amd64')
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/"

source=(
	"${pkgname}-${pkgver}-x86_64.tar.bz2::https://download-installer.cdn.mozilla.net/pub/devedition/releases/${pkgver}/linux-x86_64/en-US/firefox-${pkgver}.tar.bz2"
	"firefox-developer.desktop")

sha256sums=('f63b448c20fe3acb759e635cfffb91263a30c60262273f0f096bad4714197e86'
            'eee596b22c04ee4310464ac2368659dbdd8e73fc63baf1ab147afb159314fa0f')

package() {

	# Create necessary folders in fakeroot
	mkdir -p "${pkgdir}"/opt/firefox-developer/ "${pkgdir}"/usr/bin/ "${pkgdir}"/usr/share/applications/

	# 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
	mv "${srcdir}"/firefox-developer.desktop "${pkgdir}"/usr/share/applications/firefox-developer.desktop
}