blob: 396dc5bb7fa268dd755882d4cd810b0f3406635a (
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: Gabriel A. Giovanini <mail@gabriegio.me>
pkgname=qtc
pkgver=1.8.0
pkgrel=1
pkgdesc="Template compiler (converter) for quicktemplate"
url="https://github.com/valyala/quicktemplate/tree/master"
arch="x86_64"
license="MIT"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/valyala/quicktemplate/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/quicktemplate-$pkgver"
options="
!check
net
"
build() {
go build ./qtc/main.go
}
#check() {
# go test ./...
#}
package() {
install -Dm755 main "$pkgdir"/usr/bin/qtc
}
sha512sums="
422df3af829e6d067b5106a2cb670034ac1e9ec889cb2a1409c45d4836ecdded2f753611984b0cf5e9c0ddf957a7b51e05e0dfc981010350e23f480a6162533e qtc-1.8.0.tar.gz
"
|