Browse Source

Update 'PKGBUILD'

Nathaniel van Diepen 3 years ago
parent
commit
9429d4e53c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      PKGBUILD

+ 2 - 2
PKGBUILD

@@ -19,11 +19,11 @@ prepare() {
 }
 build() {
 	cd "$srcdir/build";
-	cmake "$srcdir/$pkgname";
+	cmake "$srcdir/$pkgname" -DCMAKE_INSTALL_PREFIX:PATH=$pkgdir;
 	make;
 }
 package() {
 	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 	cd "$srcdir/build";
-	make DESTDIR="${pkgdir}" install
+	make install
 }