blob: b4eef4a205b155574b679c1ba0a3a7340f7ff2e8 (
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: fossdd <fossdd@tutanota.com>
pkgname=kiln-git
_pkgname=${pkgname%-git}
pkgver=0.2.1.r0.g7201859
pkgrel=1
pkgdesc="A simple static site generator"
url='https://sr.ht/~adnano/kiln'
license=(GPL-3.0)
arch=(x86_64)
depends=()
makedepends=(go scdoc)
conflicts=()
provides=(kiln)
source=("git+https://git.sr.ht/~adnano/kiln")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
( set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "$_pkgname"
make
}
package() {
cd "$_pkgname"
make PREFIX="$pkgdir/usr" install
}
|