From f948cb25bb3bc4ebfdd9d759451586e1baeb7b86 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Wed, 19 May 2010 20:33:35 +1000 Subject: Change directory in package function in PKGBUILD.proto makepkg goes back to the $startdir between the build() and package() functions so we need to change directory at the start of the package function. TODO: fix makepkg to make this unnecessary Signed-off-by: Allan McRae --- PKGBUILD.proto | 2 ++ 1 file changed, 2 insertions(+) (limited to 'PKGBUILD.proto') diff --git a/PKGBUILD.proto b/PKGBUILD.proto index 01345742..b4d9c94b 100644 --- a/PKGBUILD.proto +++ b/PKGBUILD.proto @@ -34,6 +34,8 @@ build() { } package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install } -- cgit v1.2.3-70-g09d2