iglunix/pkgs/meson/build.sh
2021-01-31 11:09:14 +00:00

29 lines
453 B
Bash

pkgver=0.56.2
pkgname=meson
deps=python
bad=""
ext="doc"
fetch() {
curl -L "https://github.com/mesonbuild/meson/releases/download/$pkgver/meson-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
python setup.py build
}
package() {
cd $pkgname-$pkgver
python setup.py install --prefix=/usr --root=$pkgdir
}
package_doc() {
echo $pkgdir
}
license() {
cd $pkgname-$pkgver
cat COPYING
}