diff options
author | Vyacheslav Konovalov | 2020-03-13 19:33:56 +0500 |
---|---|---|
committer | Vyacheslav Konovalov | 2020-03-13 19:33:56 +0500 |
commit | 2fa4235800d5d870c80c1a4ea80e62e821a9c7f0 (patch) | |
tree | 99c1c26fd98678a47674555886bb4ece05f5d919 | |
download | aur-2fa4235800d5d870c80c1a4ea80e62e821a9c7f0.tar.gz |
version 1.1.3
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..64ad9289a334 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = transfer.sh + pkgdesc = Easy and fast file sharing from the command-line + pkgver = 1.1.3 + pkgrel = 1 + url = https://transfer.sh/ + arch = x86_64 + license = MIT + makedepends = go + source = https://github.com/dutchcoders/transfer.sh/archive/v1.1.3.tar.gz + sha256sums = 116a4790aba2d035ffe81efbf0ba894543576de5c1734a8f2495d9811ab1086a + +pkgname = transfer.sh + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b4d9912efa2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Vyacheslav Konovalov <vyachkonovalov@protonmail.com> + +pkgname=transfer.sh +pkgver=1.1.3 +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") +sha256sums=('116a4790aba2d035ffe81efbf0ba894543576de5c1734a8f2495d9811ab1086a') + +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/" +} |