# 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 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/thunderbird/defaults/pref/channel-prefs.js" } package() { find ${srcdir} -type l -maxdepth 1 -delete cd ${srcdir} cp -a ./* ${pkgdir} }