makedeb


meson 0.63.3-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.63.3
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=('519c0932e1a8b208741f0fdce90aa5c0b528dd297cf337009bf63539846ac056')

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
}