summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 069ad3c9824cf2b06f2ef51682298a2116f2e96f (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
# Maintainer: HLFH <gaspard@dhautefeuille.eu>

pkgname=transfer.sh
pkgver=1.3.1
pkgrel=1
pkgdesc='Easy and fast file sharing from the command-line'
arch=('x86_64')
url='https://transfer.sh/'
license=('MIT')
makedepends=('go')
source=("https://github.com/dutchcoders/transfer.sh/archive/v${pkgver}.tar.gz")
sha512sums=('728cc46b202e2a4f33c319f19f8426f853539c45d92d656a6486d03272f0eb821f20ccfeb665d61eab3c9c881a7645f58a486562ff75a3c821e860e47ec44ea1')

build() {
  cd transfer.sh-$pkgver
  go build -v -o transfersh main.go
}

package() {
  cd transfer.sh-$pkgver

  install -Dm755 transfersh "$pkgdir/usr/bin/transfersh"
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/transfer.sh/"
}