mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-12 05:34:01 -04:00
add PKGBUILD (for arch)
This commit is contained in:
parent
433c81f54b
commit
d91805bb28
1 changed files with 28 additions and 0 deletions
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
pkgname=foot
|
||||||
|
pkgver=0.0.r2.g7379198
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue