blob: bfe7b3232b1e4ec3ef0e602f006869100042ca95 (
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
|
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=teaftp
pkgver=1.0.0
pkgrel=1
pkgdesc='Simple, read-only TFTP server'
arch=('x86_64')
url='https://github.com/xyproto/teaftp'
license=('MIT')
makedepends=('go' 'git')
source=("git+https://github.com/xyproto/teaftp#tag=v$pkgver")
md5sums=('SKIP')
build() {
cd "$pkgname"
GO111MODULE=off go build
}
package() {
cd "$pkgname"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: ts=2 sw=2 et:
|