summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3980248efdc..9b33c8e27b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,14 +13,17 @@ source=('git+https://github.com/WayfireWM/wayfire')
sha256sums=('SKIP')
pkgver() {
+ cd "$pkgname"
printf "1.%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
+ cd "$pkgname"
meson build
meson compile -C build
}
package() {
+ cd "$pkgname"
meson install -C build
}