summaryrefslogtreecommitdiff
path: root/libre-testing/icedove-libre/rePKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-03 19:47:25 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-03 19:47:25 -0300
commit85ad9967fdd62f00daa8d77512dcee7eb5c9d135 (patch)
treec55a0682f6e55cf780756a3657195abbf9c0c59b /libre-testing/icedove-libre/rePKGBUILD
parente95d039f5ac4ad0f31ab1733e934d42e2b5cff51 (diff)
downloadabslibre-85ad9967fdd62f00daa8d77512dcee7eb5c9d135.tar.gz
abslibre-85ad9967fdd62f00daa8d77512dcee7eb5c9d135.tar.bz2
abslibre-85ad9967fdd62f00daa8d77512dcee7eb5c9d135.zip
libre-testing/icedove-libre
Diffstat (limited to 'libre-testing/icedove-libre/rePKGBUILD')
-rw-r--r--libre-testing/icedove-libre/rePKGBUILD30
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}
+}