blob: c303136ffe1734f792a34e6c1f5109945d1e607e (
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
|
# Maintainer: Your Name <youremail@domain.com>
pkgname=kiss2ugo
pkgver=20220406
pkgrel=1
pkgdesc="Lilac build API"
arch=('x86_64')
url="https://github.com/a-wing/kiss2ugo"
license=('unkown')
depends=()
makedepends=('git' 'go')
source=(git+https://github.com/a-wing/kiss2ugo.git)
md5sums=('SKIP')
pkgver(){
date +%Y%m%d
}
prepare(){
cd $pkgname
go get -u github.com/shurcooL/vfsgen
}
build() {
cd "$pkgname"
go generate
go build
}
package() {
cd "$pkgname"
install -Dm 755 kiss2u $pkgdir/usr/bin/kiss2u
install -Dm 755 kiss2ugo.service $pkgdir/usr/lib/systemd/system/kiss2ugo.service
}
|