summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-27 00:52:27 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-27 00:52:27 -0600
commit05463eaf611f4784b3693b74029c3f5a6da1d70b (patch)
treec5befbf608c0cf8123ba206c32a1f687db7bb036
parent9b47c3246b85a2be61929a1032e31c4b9c53ef82 (diff)
librefetch: fix $pkgdir handling for new-ish versions of makepkgv20130727
-rwxr-xr-xsrc/librefetch/librefetch6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index e039e12..168d30e 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -221,8 +221,8 @@ makepkg_modify='
/^\}$/ifind . -exec touch --date="1990-01-01 0:0:0 +0" {} +
}
-s|srcdir=.*|srcdir="$BUILDDIR/src-libre"|
-s|pkgdir=.*|pkgdir="$BUILDDIR/pkg-libre"|
+s|srcdir=.*|&-libre|
+s|pkgdirbase=.*|&-libre|
s|check_build_status$|:|
'
@@ -289,7 +289,7 @@ PURGE_TARGETS+=(.bzr/ .cvs/ .git/ .hg/ .svn/)
if ! declare -f mksource >/dev/null; then
mksource() { :; }
fi
-prepare() { rm -rf "$pkgdir"; }
+prepare() { :; }
build() { mksource; }
check() { :; }
package() { cp -a "$srcdir"/*/ "$pkgdir/"; }