iglunix/base/meson/build.sh

32 lines
515 B
Bash
Raw Normal View History

2021-12-26 12:40:14 +00:00
pkgver=0.60.2
2021-01-17 19:15:45 +00:00
pkgname=meson
deps=python
bad=""
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
cp ../not-darwin.patch .
cd $pkgname-$pkgver
patch -p1 < ../not-darwin.patch
2021-01-17 19:15:45 +00:00
}
build() {
cd $pkgname-$pkgver
python setup.py build
}
package() {
cd $pkgname-$pkgver
python setup.py install --prefix=/usr --root=$pkgdir
}
2021-12-26 12:40:14 +00:00
backup() {
return
2021-01-17 19:15:45 +00:00
}
license() {
cd $pkgname-$pkgver
cat COPYING
}