makedeb


meson 0.64.1-1


The Meson Build System

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for meson.

# Maintainer: Nico <d3sox at protonmail dot com>
pkgname=meson
pkgver=0.64.1
pkgrel=1
pkgdesc="The Meson Build System"
arch=('x86_64')
replaces=("meson")
provides=("meson=$pkgver")
url="https://mesonbuild.com/"
license=('Apache')
depends=('python3-setuptools')
makedepends=('ninja-build')
source=("https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-$pkgver.tar.gz")
sha256sums=('3a8e030c2334f782085f81627062cc6d4a6771edf31e055ffe374f9e6b089ab9')

build() {
  cd "$srcdir/meson-$pkgver"
  python3 setup.py build
}

package() {
  cd "$srcdir/meson-$pkgver"
  python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build --install-layout=deb
}