浏览代码

Update 'PKGBUILD'

Nathaniel van Diepen 4 年之前
父节点
当前提交
7ad41c3b43
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      PKGBUILD

+ 2 - 1
PKGBUILD

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