summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-13 12:38:30 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-13 12:38:30 -0400
commite3d613f25ea0d7f8f53e0c38925b2fdd88f2bd0e (patch)
tree88f0db6d8a326031474791de8540d29923ea6f21 /src/librefetch
parent95bb43ca5e4a07909e6e91e6f8234e738f4564ff (diff)
librefetch: don't run prepare() or check()
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index d0e8c0b..8d60a01 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -264,7 +264,9 @@ PURGE_TARGETS+=(.bzr/ .cvs/ .git/ .hg/ .svn/)
if ! declare -f mksource >/dev/null; then
mksource() { :; }
fi
+prepare() { rm -rf "$pkgdir"; }
build() { mksource; }
+check() { :; }
package() {
if [[ $(ls "$pkgdir" | wc -l) == 0 ]]; then
# pkgdir is empty; provide good default behavior