# Maintainer: Filipe Nascimento pkgname=qrcp pkgver=0.6.0 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=('c4f0bd70b1cadfa2063feb966645985caa76ae1632c01f5e0deb78021432a4ef') 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" }