blob: 43c4f6fe32eb71fff9d6ab755b1cac6d93d7abb0 (
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
|
# Maintainer: Jacob Moody <moody at posixcafe dot org>
pkgname=drawterm-9front-wl-git
pkgver=r522.05c9c55
pkgrel=1
pkgdesc="9front drawterm compiled targeting wayland + pipewire"
arch=('i686' 'x86_64')
url="http://drawterm.9front.org/"
license=('MIT')
depends=('pipewire' 'wayland')
makedepends=('libxkbcommon' 'wlr-protocols-git' 'make' 'gcc' 'git' 'wayland-protocols')
provides=('drawterm')
conflicts=('drawterm')
source=("$pkgname::git://git.9front.org/plan9front/drawterm")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-VCS}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
CONF=linux make -j `nproc`
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 drawterm $pkgdir/usr/bin/drawterm
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 drawterm.1 "$pkgdir/usr/share/man/man1/drawterm.1"
}
|