diff options
| author | ruki <[email protected]> | 2019-08-27 22:15:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-27 07:34:07 +0800 |
| commit | 521e95becc239d4f474734d32a4d82f03ee2cfed (patch) | |
| tree | a3f3079ed007df3c0dfacacba0263b1c1443a71c /scripts | |
| parent | c39104ccdfb919f507ecdb45f475bb43fa218db4 (diff) | |
fix PKGBUILD
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/PKGBUILD b/scripts/PKGBUILD index 359fc86b1..75869b1c6 100644 --- a/scripts/PKGBUILD +++ b/scripts/PKGBUILD @@ -13,12 +13,12 @@ source=("$pkgname.tar.gz::https://github.com/xmake-io/xmake/releases/download/v$ sha256sums=('f607955bb83c991e6c69197cbd9f21c31debcb08ffcd97a73e67766e2ad0d313') build() { - cd "$srcdir/${pkgname}-${pkgver}" + cd "$srcdir" make build } package() { - cd "$srcdir/${pkgname}-${pkgver}" + cd "$srcdir" mkdir -p "${pkgdir}/usr/share" cp -r "./xmake" "${pkgdir}/usr/share/" install -Dm755 ./core/src/demo/demo.b "${pkgdir}/usr/share/xmake/xmake" |
