From af4d329b015f45f609090f4b22a83abe818e0273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Tue, 7 Jun 2011 00:38:43 -0300 Subject: thunderbird-libre-3.1.10-3 --- libre/thunderbird-libre/rePKGBUILD | 39 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 21 deletions(-) (limited to 'libre/thunderbird-libre/rePKGBUILD') diff --git a/libre/thunderbird-libre/rePKGBUILD b/libre/thunderbird-libre/rePKGBUILD index ef2de693e..215f893a1 100644 --- a/libre/thunderbird-libre/rePKGBUILD +++ b/libre/thunderbird-libre/rePKGBUILD @@ -1,33 +1,30 @@ -# Maintainer: Joshua Haase -_pkgbase=thunderbird -pkgname=thunderbird-libre -_pkgver=3.1 -pkgver=3.1.9 -_pkgrel=2 -pkgrel=$_pkgrel.1 -pkgdesc="Standalone Mail/News reader, with GNUZilla addons" -arch=('i686' 'x86_64') -license=('MPL' 'GPL') -url="http://www.mozilla.org/projects/thunderbird" -depends=('gtk2' 'gcc-libs' 'mozilla-common' 'nss' 'libxt' 'shared-mime-info' 'alsa-lib' 'dbus-glib' 'hunspell' 'sqlite3>=3.7.4' 'desktop-file-utils') -makedepends=() -optdepends=('libcanberra: for sound support') -replaces=('thunderbird') -conflicts=('thunderbird') -provides=("thunderbird=$pkgver") -install=thunderbird.install -source=(http://mirrors.kernel.org/archlinux/extra/os/$CARCH/$_pkgbase-$pkgver-$_pkgrel-$CARCH.pkg.tar.xz +# This is an example rePKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Nicolas Reynolds +source PKGBUILD +CARCH=x86_64 +unset build package md5sums source +_repo=extra +options=(!strip) +source=(PKGBUILD + http://mirrors.kernel.org/archlinux/${_repo}/os/$CARCH/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT + # files for pkg modifications gnuzilla-addons.patch) build() { cd "${srcdir}/" - rm .{INSTALL,PKGINFO} $_pkgbase-$pkgver-$_pkgrel-$CARCH.pkg.tar.xz - pushd usr/lib/${_pkgbase}-${_pkgver}/defaults/pref/ >/dev/null + rm -v .{INSTALL,PKGINFO} ${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT + + pushd usr/lib/${pkgname%-libre}-3.1/defaults/pref/ >/dev/null patch -Np0 -i "${srcdir}/gnuzilla-addons.patch" popd >/dev/null rm "${srcdir}/gnuzilla-addons.patch" } package() { + cd ${srcdir} cp -a ./* ${pkgdir} } -- cgit v1.2.3-2-g168b