aboutsummaryrefslogtreecommitdiff
path: root/build-aux/arch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/arch/PKGBUILD')
-rw-r--r--build-aux/arch/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/build-aux/arch/PKGBUILD b/build-aux/arch/PKGBUILD
index 66ae6e0..330828c 100644
--- a/build-aux/arch/PKGBUILD
+++ b/build-aux/arch/PKGBUILD
@@ -9,21 +9,22 @@ license=('AGPL-3.0-or-later')
depends=('gtk4>=4.18.0' 'libadwaita>=1.7.0' 'gtksourceview5>=5.16.0' 'cairo>=1.18.0')
makedepends=(cargo 'meson>=1.0.0' gettext)
options=('!debug')
-source=()
-sha256sums=()
+source=("map-${pkgver}.tar.xz")
+sha256sums=('SKIP')
prepare() {
- cd "$startdir/src"
+ cd "${pkgname}-${pkgver}"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
- cd "$startdir/src"
+ cd "${pkgname}-${pkgver}"
meson setup --prefix /usr _build .
meson compile -C _build
}
package() {
+ cd "${pkgname}-${pkgver}"
meson install -C _build --destdir $pkgdir
}