blob: abd291a8dcc365ab92606c9260b7587aab892b79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Your Name <spikygames123@gmail.com>
pkgname=wayterm-git
pkgver=v0.1
pkgrel=1
pkgdesc="A terminal emulator built with Vala, GTK4, and libadwaita"
arch=('x86_64')
url="https://github.com/Squar-DE/wayterm"
license=('GPL3')
depends=('gtk4' 'libadwaita' 'vte4' 'gdk-pixbuf2')
makedepends=('vala' 'git')
provides=('wayterm')
conflicts=('wayterm')
source=('git+file://'"$PWD")
sha256sums=('SKIP')
pkgdesc="A minimal Wayland terminal (Early Development)"
pkgver() {
cd "$srcdir/wayterm"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/wayterm"
# Build with valac
valac --pkg gtk4 --pkg libadwaita-1 --pkg vte-2.91-gtk4 --pkg gdk-pixbuf-2.0 main.vala -o wayterm
}
package() {
cd "$srcdir/wayterm"
# Install the binary
install -Dm755 wayterm "$pkgdir/usr/bin/wayterm"
install -Dm644 wayterm.desktop "$pkgdir/usr/share/applications/wayterm.desktop"
# Install LICENSE
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|