diff options
Diffstat (limited to 'libre-testing/icedove-libre/rePKGBUILD')
-rw-r--r-- | libre-testing/icedove-libre/rePKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
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 <fauno@kiwwwi.com.ar> +# Maintainer: Márcio Silva <coadde@adinet.com.uy> +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} +} |