summaryrefslogtreecommitdiff
path: root/libre/abuse-libre/rePKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-04 22:48:12 +0000
committerroot <root@rshg047.dnsready.net>2011-06-04 22:48:12 +0000
commit80ba845c7cb571644d9dea61b9872c393d128c37 (patch)
tree064ee49a661ab3bdfaef029661561fd60bd1354c /libre/abuse-libre/rePKGBUILD
parent805d577f46f94e747f712b7c942f595cd8f7e170 (diff)
Sat Jun 4 22:48:12 UTC 2011
Diffstat (limited to 'libre/abuse-libre/rePKGBUILD')
-rw-r--r--libre/abuse-libre/rePKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/abuse-libre/rePKGBUILD b/libre/abuse-libre/rePKGBUILD
new file mode 100644
index 000000000..3c9a0082d
--- /dev/null
+++ b/libre/abuse-libre/rePKGBUILD
@@ -0,0 +1,33 @@
+# 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
+CARCH=x86_64
+unset build package md5sums source
+_repo=community
+options=(!strip)
+source=(PKGBUILD
+ http://mirrors.kernel.org/archlinux/${_repo}/os/$CARCH/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT
+ # files for pkg modifications
+ )
+
+build() {
+ cd "${srcdir}/"
+ rm -v .{INSTALL,PKGINFO} ${pkgname%-libre}-$pkgver-$pkgrel-$CARCH.pkg.tar.xz
+ # actions for package modifications
+ # be sure to remove source files
+
+ msg "Removing unfree 'Claudio' addon"
+ rm -rvf usr/share/abuse/orig/addon/claudio/
+}
+
+package() {
+ cd ${srcdir}
+ cp -a ./* ${pkgdir}
+}
+
+
+# vim:set ts=2 sw=2 et: