blob: a54872f9754cbc964018e3d0cc85eb8d190fd668 (
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
|
# Maintainer: Jesse McClure <code at jessemcclure dot org>
_fossil=nkk
pkgname=${_fossil}-fossil
pkgver=r5.c8b52ae0ba
pkgrel=1
pkgdesc='Wayland client library w/ cairo drawing'
arch=('x86_64')
license=('MIT')
depends=(cairo glib2 glibc libglvnd libxkbcommon pango wayland)
makedepends=(fossil)
provides=(nkk)
url=https://code.jessemcclure.org/${_fossil}
source=(fossil+${url})
sha256sums=(SKIP)
pkgver() {
cd "${srcdir}/${_fossil}"
printf '%sr%s.%s\n' \
"$(fossil tag list | grep '[0-9\.*]' | sort -r | sed 1q)" \
"$(fossil info | sed -n '$s/[a-z:-]* *//p')" \
"$(fossil timeline -n 1 -t ci -F %h | sed 1q)"
}
build() {
cd "${srcdir}/${_fossil}"
make PREFIX=/usr
}
package() {
cd "${srcdir}/${_fossil}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|