makedeb
The Meson Build System
Click here to go back to the commit logs for meson.
Hash: f399fced706ad44ac1065a03e78474986412624f
Message: update install layout to deb
diff --git a/PKGBUILD b/PKGBUILD
index 500010a..baa35ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,11 +13,11 @@ source=("https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-$pk
sha256sums=('3144a3da662fcf79f1e5602fa929f2821cba4eba28c2c923fe0a7d3e3db04d5d')
build() {
- cd "meson-$pkgver"
+ cd "$srcdir/meson-$pkgver"
python3 setup.py build
}
package() {
- cd "meson-$pkgver"
- python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ cd "$srcdir/meson-$pkgver"
+ python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build --install-layout=deb
}