summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f44897b5e4a9d78cfbb3806789aa084e31ad43c (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
# Maintainer: Lesnikov Vladimir <v.a.lesnikov@vk.com>
pkgname='pft'
pkgver='0.5.0'
pkgrel=1
pkgdesc='TCP file sender/receiver'
arch=('x86_64' 'i686' 'pentium4' 'aarch64' 'arm' 'armv6h' 'armv7h')
url='https://github.com/faceleft/pft'

license=('MIT')
makedepends=('go')

source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")

sha256sums=('SKIP')


build() {
	cd "$pkgname-$pkgver"
    go build
}

package() {
	cd "$pkgname-$pkgver"
    mkdir -p $pkgdir/usr/bin
    cp pft $pkgdir/usr/bin
}