PKGBUILD cleanup
This commit is contained in:
parent
b2b76a729a
commit
087f4e198b
2 changed files with 0 additions and 44 deletions
|
@ -1,41 +0,0 @@
|
|||
# Maintainer: Cedric MATHIEU <me.xenom @ gmail.com>
|
||||
# Contributor: coderoar <coderoar @ gmail.com>
|
||||
|
||||
arch=('i686' 'x86_64')
|
||||
license=('MPL' 'GPL' 'LGPL')
|
||||
|
||||
pkgname=firefox-nightly
|
||||
pkgdesc='Standalone web browser from mozilla.org, nightly build.'
|
||||
url='http://www.mozilla.org/projects/firefox'
|
||||
pkgver=4.0b9pre
|
||||
pkgrel=1
|
||||
|
||||
source=( 'firefox-nightly.desktop' 'firefox-nightly-safe.desktop' )
|
||||
md5sums=( '940233ba24a2de784ea6c610872f01e4' '488e66c72fb678d2b99a22fe87bc5974' )
|
||||
sha1sums=('6880230bc487bd65c5da43c19498f4520793e27b' '7faa96301d1c3d7772da859b96b3420cb0f34bb3')
|
||||
|
||||
depends=( 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info' )
|
||||
makedepends=('wget')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
|
||||
FX_SRC="firefox-${pkgver}.en-US.linux-${CARCH}.tar.bz2"
|
||||
FX_SRC_URI="http://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/${FX_SRC}"
|
||||
|
||||
msg "Downloading..."
|
||||
wget -N ${FX_SRC_URI}
|
||||
msg "Extracting..."
|
||||
bsdtar -x -f ${FX_SRC}
|
||||
msg "Packaging..."
|
||||
|
||||
# uncomment this line to remove them if you want
|
||||
# rm -rf firefox/{extensions,plugins,searchplugins} || return 1
|
||||
|
||||
mkdir -p ${pkgdir}/{usr/{bin,share/{applications,pixmaps}},opt}
|
||||
cp -R firefox ${pkgdir}/opt/firefox-${pkgver}
|
||||
|
||||
ln -s /opt/firefox-${pkgver}/firefox ${pkgdir}/usr/bin/firefox-nightly
|
||||
install -m644 ${srcdir}/{firefox-nightly.desktop,firefox-nightly-safe.desktop} ${pkgdir}/usr/share/applications/
|
||||
install -m644 ${srcdir}/firefox/icons/mozicon128.png ${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png
|
||||
}
|
|
@ -22,8 +22,5 @@ build() {
|
|||
package() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
make DESTDIR=${pkgdir} install
|
||||
#mkdir -p ${pkgdir}/etc/gscanbus
|
||||
#mv ${pkgdir}/usr/etc/* ${pkgdir}/etc/gscanbus/
|
||||
#rmdir ${pkgdir}/usr/etc
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue