summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZion Nimchuk2017-05-02 14:22:00 -0700
committerZion Nimchuk2017-05-02 14:22:00 -0700
commitdd597e2f11bc889656219c42204c5fca358c8a07 (patch)
tree5a4798ee9c42c431e95b32c2a3a9175cfbddf729
downloadaur-dd597e2f11bc889656219c42204c5fca358c8a07.tar.gz
Intial commit of kurly 1.0
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD27
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d78047d4388
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = kurly
+ pkgdesc = Kurly is an alternative to the widely popular curl program written in go.
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/davidjpeacock/kurly
+ arch = i686
+ arch = x86_64
+ arch = arm
+ license = APACHE
+ makedepends = go
+ depends = glibc
+ source = kurly-1.0.0.tar.gz::https://github.com/davidjpeacock/kurly/archive/v1.0.0.tar.gz
+ sha512sums = 6b850a5e8c57d8b4d179e2e306653bb31b8d45c88b827bcef976aa510c0b094e111b0a6dfbd8cc4201e1e948c5938c27537a8d03123622e7914adb31425692d8
+
+pkgname = kurly
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6bd8247d6f3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Zion Nimchuk <zionnimchuk@gmail.com>
+
+pkgname=kurly
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Kurly is an alternative to the widely popular curl program written in go.'
+arch=('i686' 'x86_64' 'arm')
+url='https://github.com/davidjpeacock/kurly'
+license=('APACHE')
+depends=('glibc')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davidjpeacock/kurly/archive/v${pkgver}.tar.gz")
+sha512sums=('6b850a5e8c57d8b4d179e2e306653bb31b8d45c88b827bcef976aa510c0b094e111b0a6dfbd8cc4201e1e948c5938c27537a8d03123622e7914adb31425692d8')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export GOPATH=$PWD
+ export GOBIN=$GOPATH/build/bin
+ go get ./...
+ go build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm755 -t "${pkgdir}"/usr/bin build/bin/${pkgname}-${pkgver}
+ mv "${pkgdir}"/usr/bin/${pkgname}-${pkgver} "${pkgdir}"/usr/bin/${pkgname}
+}