blob: 033282eaefa6d808e2f841822f0597f3da06f4df (
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
27
|
# Maintainer: Jianfeng Zhang <swordfeng123@gmail.com>
pkgname=curlie
pkgver=1.3.1
pkgrel=1
pkgdesc='A frontend to curl that adds the ease of use of httpie'
arch=('x86_64')
url="https://curlie.io/"
license=('MIT')
makedepends=('go' 'git')
depends=('curl')
source=("git+https://github.com/rs/curlie.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd $pkgname
go build \
-gcflags "all=-trimpath=$PWD" \
-asmflags "all=-trimpath=$PWD" \
-ldflags "-extldflags $LDFLAGS" \
-o $pkgname .
}
package() {
cd $pkgname
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
}
|