diff options
author | Francesco Masala | 2021-08-29 16:02:33 +0200 |
---|---|---|
committer | Francesco Masala | 2021-08-29 16:02:33 +0200 |
commit | 803e320df0aef35e6b77f74670bb2335c3bdd8dc (patch) | |
tree | 77e96bff7287bcd1bcad1fc3aa4598fbe32ffa6b /PKGBUILD | |
parent | af5f8f36456495d4377ef1665099ec7c2d6b869a (diff) | |
download | aur-803e320df0aef35e6b77f74670bb2335c3bdd8dc.tar.gz |
Updated PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -33,12 +33,16 @@ source=("${pkgname}-${pkgver}-treviso-2.tar.gz::https://github.com/bottlesdevs/B sha256sums=('5115f9d5a61a3088f0ce38e9abe3a3ae1ee0244dd2653ad731758a844d49c45d') build() { - cd "Bottles-${pkgver}-treviso" + if [[ -d Bottles ]]; then + rm -rf Bottles + fi; + mv Bottles*/ Bottles/ + cd "Bottles" meson --prefix='/usr' build ninja -C build } package() { - cd "Bottles-${pkgver}-treviso" + cd "Bottles" DESTDIR="${pkgdir}" ninja -C build install } |