blob: 727bccdc8d291253e051ec66d4b83890565f6913 (
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: Filipe Nascimento <flipee at tuta dot io>
pkgname=qrcp
pkgver=0.6.1
pkgrel=1
pkgdesc="Transfer files over Wi-Fi from your computer to a mobile device by scanning a QR code without leaving the terminal"
arch=('i686' 'x86_64')
url="https://github.com/claudiodangelis/qrcp"
license=('MIT')
depends=('glibc')
makedepends=('go-pie')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('a42e6540b0293138b4cf5de2f0d8a988303b289c2eb012a67a80b3527c3c8c5f')
build() {
cd $pkgname-$pkgver
go build -trimpath -ldflags "-extldflags $LDFLAGS" -o $pkgname
}
package() {
cd $pkgname-$pkgver
install -Dm755 $pkgname -t "$pkgdir/usr/bin"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|