blob: 1eba308873c67bbddb503ac6b50e1b8e8536198a (
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: argot
pkgname=drawterm-9front-git
pkgver=r537.c4ea4d2
pkgrel=1
pkgdesc="9front drawterm fork git repository"
arch=('i686' 'x86_64')
url="http://drawterm.9front.org/"
license=('MIT')
depends=('xorg-server')
makedepends=('make' 'gcc' 'git')
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=unix 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"
}
|