From 85ad9967fdd62f00daa8d77512dcee7eb5c9d135 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 3 Apr 2012 19:47:25 -0300 Subject: libre-testing/icedove-libre --- libre-testing/icedove-libre/rePKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libre-testing/icedove-libre/rePKGBUILD (limited to 'libre-testing/icedove-libre/rePKGBUILD') diff --git a/libre-testing/icedove-libre/rePKGBUILD b/libre-testing/icedove-libre/rePKGBUILD new file mode 100644 index 000000000..771e93bc8 --- /dev/null +++ b/libre-testing/icedove-libre/rePKGBUILD @@ -0,0 +1,30 @@ +# 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 +# Maintainer: Márcio Silva +source PKGBUILD +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 + channel-prefs.js) + +build() { + cd "${srcdir}/" + rm -v .{INSTALL,PKGINFO} ${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT + +# Recommend free addons + cp --remove-destination "${srcdir}/channel-prefs.js" \ + "${srcdir}/usr/lib/icedove/defaults/pref/channel-prefs.js" +} + +package() { + find ${srcdir} -type l -maxdepth 1 -delete + cd ${srcdir} + cp -a ./* ${pkgdir} +} -- cgit v1.2.3