iglunix/gui/foot/build.sh
2021-12-26 12:40:14 +00:00

36 lines
548 B
Bash

pkgname=foot
pkgver=1.10.3
fetch() {
curl -L "https://codeberg.org/dnkl/foot/archive/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mv $pkgname $pkgname-$pkgver
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib \
-Dterminfo=disabled \
-Ddefault-terminfo=xterm
samu
}
backup() {
return
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}