summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert-Jan Keizer2016-03-07 22:00:37 +0100
committerRobert-Jan Keizer2016-03-07 22:00:37 +0100
commit5d849e3b150f6eb0287a3dac9f471d9dff90bab6 (patch)
treeb7523aeb03a1ddb03afad5b1e4f58092730b7351
downloadaur-5d849e3b150f6eb0287a3dac9f471d9dff90bab6.tar.gz
Init package
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD28
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c68bcdd92a3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sat Feb 27 23:55:00 UTC 2016
+pkgbase = domainchecker
+ pkgdesc = Check domain availability from your cli and pass it to a domain supplier.
+ pkgver = 0.0.1
+ pkgrel = 0
+ url = http://github.com/KeizerDev/domainchecker
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = go
+ makedepends = git
+ provides = domainchecker=0.0.1
+ options = !strip
+ options = !emptydirs
+ source = https://github.com/KeizerDev/domainchecker/archive/v0.0.1.tar.gz
+ sha256sums = b87715b368575d38d336d650b33e173fa916eb8757d7dd1bf547c0e4c155d661
+
+pkgname = domainchecker
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a2894d17df5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Robert-Jan Keizer <robertjankeizer at gmail dot com>
+
+pkgname=domainchecker
+pkgver=0.0.1
+pkgrel=0
+pkgdesc="Check domain availability from your cli and pass it to a domain supplier."
+arch=('i686' 'x86_64')
+url="http://github.com/KeizerDev/domainchecker"
+license=('MIT')
+makedepends=('go' 'git')
+options=('!strip' '!emptydirs')
+provides=("domainchecker=${pkgver}")
+source=("https://github.com/KeizerDev/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('b87715b368575d38d336d650b33e173fa916eb8757d7dd1bf547c0e4c155d661')
+_gourl="github.com/KeizerDev/${pkgname}"
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ export GOPATH="${srcdir}"
+ go get -v ${_gourl}
+}
+
+package() {
+ install -Dm 775 "${srcdir}/bin/${pkgname}" \
+ "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}