summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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