mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
PKGBUILD: break out terminfo files to a separate package
This commit is contained in:
parent
ce4d2a085a
commit
a26689fcdc
1 changed files with 17 additions and 8 deletions
25
PKGBUILD
25
PKGBUILD
|
|
@ -1,15 +1,10 @@
|
||||||
pkgname=foot
|
pkgname=('foot' 'foot-terminfo')
|
||||||
pkgver=0.0.r136.g90d357b
|
pkgver=0.0.r386.gce4d2a0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A wayland native terminal emulator"
|
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url=https://gitlab.com/dnkl/foot
|
url=https://gitlab.com/dnkl/foot
|
||||||
license=(mit)
|
license=(mit)
|
||||||
makedepends=('meson' 'ninja' 'scdoc')
|
makedepends=('meson' 'ninja' 'scdoc')
|
||||||
depends=(
|
|
||||||
'libxkbcommon'
|
|
||||||
'wayland'
|
|
||||||
'freetype2' 'fontconfig' 'pixman')
|
|
||||||
source=()
|
source=()
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
|
@ -31,6 +26,20 @@ build() {
|
||||||
ninja
|
ninja
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package_foot() {
|
||||||
|
pkgdesc="A wayland native terminal emulator"
|
||||||
|
depends=(
|
||||||
|
'libxkbcommon'
|
||||||
|
'wayland'
|
||||||
|
'freetype2' 'fontconfig' 'pixman')
|
||||||
|
|
||||||
DESTDIR="${pkgdir}/" ninja install
|
DESTDIR="${pkgdir}/" ninja install
|
||||||
|
rm -rf "${pkgdir}/usr/share/terminfo"
|
||||||
|
}
|
||||||
|
|
||||||
|
package_foot-terminfo() {
|
||||||
|
pkgdesc="Terminfo files for the foot terminal emulator"
|
||||||
|
|
||||||
|
install -dm 755 "${pkgdir}/usr/share/terminfo/f/"
|
||||||
|
cp f/* "${pkgdir}/usr/share/terminfo/f/"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue