Skip to content

Commit

Permalink
Fix srcdir directory
Browse files Browse the repository at this point in the history
  • Loading branch information
aminvakil committed Oct 28, 2023
1 parent 5f1579b commit b617c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible-cmdb/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ source=("git+https://github.com/gardar/ansible-cmdb.git#branch=fix-build")
sha256sums=('SKIP')

build() {
cd "$srcdir/${pkgname}-${pkgver}"
cd "$srcdir/${pkgname}"
python setup.py build
}

package() {
cd "$srcdir/${pkgname}-${pkgver}"
cd "$srcdir/${pkgname}"
PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1
python setup.py install --root="$pkgdir/" --optimize=1
}

0 comments on commit b617c69

Please sign in to comment.