summaryrefslogtreecommitdiff
path: root/libre/thunderbird-libre/rePKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-06-07 00:38:43 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-06-07 00:38:43 -0300
commitaf4d329b015f45f609090f4b22a83abe818e0273 (patch)
tree29771701fc733ca31ad36a87ba4c9aa1b13047dd /libre/thunderbird-libre/rePKGBUILD
parent3bd400fa691b9bfc14b47918d56e2789d8570193 (diff)
downloadabslibre-af4d329b015f45f609090f4b22a83abe818e0273.tar.gz
abslibre-af4d329b015f45f609090f4b22a83abe818e0273.tar.bz2
abslibre-af4d329b015f45f609090f4b22a83abe818e0273.zip
thunderbird-libre-3.1.10-3
Diffstat (limited to 'libre/thunderbird-libre/rePKGBUILD')
-rw-r--r--libre/thunderbird-libre/rePKGBUILD39
1 files changed, 18 insertions, 21 deletions
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 <hahj87@gmail.com>
-_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 <fauno@kiwwwi.com.ar>
+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}
}