diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-13 12:38:30 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-13 12:38:30 -0400 |
commit | e3d613f25ea0d7f8f53e0c38925b2fdd88f2bd0e (patch) | |
tree | 88f0db6d8a326031474791de8540d29923ea6f21 | |
parent | 95bb43ca5e4a07909e6e91e6f8234e738f4564ff (diff) |
librefetch: don't run prepare() or check()
-rwxr-xr-x | src/librefetch/librefetch | 2 |
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 |