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/rePKGBUILD23
1 files changed, 17 insertions, 6 deletions
diff --git a/libre/thunderbird-libre/rePKGBUILD b/libre/thunderbird-libre/rePKGBUILD
index e3a4d5369..215f893a1 100644
--- a/libre/thunderbird-libre/rePKGBUILD
+++ b/libre/thunderbird-libre/rePKGBUILD
@@ -1,19 +1,30 @@
-# Maintainer: Joshua Haase <hahj87@gmail.com>
+# 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
-unset md5sums source build package
+CARCH=x86_64
+unset build package md5sums source
+_repo=extra
+options=(!strip)
source=(PKGBUILD
- http://mirrors.kernel.org/archlinux/extra/os/$CARCH/$_pkgbase-$pkgver-$_pkgrel-$CARCH.pkg.tar.xz
- gnuzilla-addons.patch)
+ 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}
}