summaryrefslogtreecommitdiff
path: root/libre/thunderbird-libre/rePKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/thunderbird-libre/rePKGBUILD')
-rw-r--r--libre/thunderbird-libre/rePKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/libre/thunderbird-libre/rePKGBUILD b/libre/thunderbird-libre/rePKGBUILD
index e71f6ad78..1e382761c 100644
--- a/libre/thunderbird-libre/rePKGBUILD
+++ b/libre/thunderbird-libre/rePKGBUILD
@@ -12,16 +12,15 @@ 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)
+ channel-prefs.js)
build() {
cd "${srcdir}/"
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"
+# Recommend free addons
+ cp --remove-destination "${srcdir}/channel-prefs.js" \
+ "${srcdir}/usr/lib/thunderbird/defaults/pref/channel-prefs.js"
}
package() {