summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d90d5221c7bc37ded2f6862c7eacee7cbe019c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Nico <d3sox at protonmail dot com>
pkgname=meson
pkgver=0.61.0
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=('ea9f33246b1f23f02e90a50e75e0f41e526f6dabf0c24f3e00e27a3f5abdc35c')

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
}