diff --git a/community/libnfs/APKBUILD b/community/libnfs/APKBUILD
index 93d8ea520067cdd99078d86e87446f0c9d0b06e6..f87dd5bb594ae310b21bd9493cf9f0ef0491983c 100644
--- a/community/libnfs/APKBUILD
+++ b/community/libnfs/APKBUILD
@@ -16,13 +16,11 @@ source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz
 builddir="$srcdir"/libnfs-libnfs-$pkgver
 
 prepare() {
-	cd "$builddir"
 	default_prepare
 	./bootstrap
 }
 
 build() {
-	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -35,7 +33,6 @@ build() {
 }
 
 package() {
-	cd "$builddir"
 	make DESTDIR="$pkgdir" install
 	rm -f "$pkgdir"/usr/lib/*.a
 }