Browse Source

Update 'PKGBUILD'

Nathaniel van Diepen 4 years ago
parent
commit
be2d2522e0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      PKGBUILD

+ 1 - 2
PKGBUILD

@@ -21,9 +21,8 @@ build() {
 	python2 setup.py build;
 }
 package() {
+	mkdir -p "$srcdir/$pkgname/usr/lib/python2.7/site-packages";
 	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-	cd "$srcdir/$pkgname"
-	mkdir -p usr/lib/python2.7/site-packages;
 	export PYTHONUSERBASE=$pkgdir/usr;
 	python2 setup.py install --user;
 }