mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
28 lines
591 B
Bash
28 lines
591 B
Bash
pkgname=foot
|
|
pkgver=0.0.r136.g90d357b
|
|
pkgrel=1
|
|
pkgdesc="A wayland native terminal emulator"
|
|
arch=('x86_64')
|
|
url=https://gitlab.com/dnkl/foot
|
|
license=(mit)
|
|
makedepends=('meson' 'ninja' 'scdoc')
|
|
depends=(
|
|
'libxkbcommon'
|
|
'wayland'
|
|
'freetype2' 'fontconfig' 'cairo')
|
|
source=()
|
|
|
|
pkgver() {
|
|
[ -d ../.git ] && git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
|
[ ! -d ../.git ] && head -3 ../meson.build | grep version | cut -d "'" -f 2
|
|
}
|
|
|
|
build() {
|
|
meson --prefix=/usr --buildtype=release -Db_lto=true ..
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="${pkgdir}/" ninja install
|
|
}
|
|
|