summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubstanceof2016-09-28 05:26:12 +0300
committersubstanceof2016-09-28 05:26:12 +0300
commitaa939a5d6d3287020a9fc29bae392820ba69874c (patch)
tree659928855a0948a4f0d0046b5e6395097974c51b
downloadaur-aa939a5d6d3287020a9fc29bae392820ba69874c.tar.gz
vk-cli-git
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD32
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1fd0d692b35
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Wed Sep 28 02:25:47 UTC 2016
+pkgbase = vk-cli-git
+ pkgdesc = A console (ncurses) client for vk.com written in D (git upstream)
+ pkgver = 0.7.4.r1.b0d4016
+ pkgrel = 1
+ url = https://github.com/HaCk3Dq/vk
+ arch = x86_64
+ arch = i686
+ license = Apache
+ makedepends = dub
+ makedepends = dmd>=2.071.0
+ makedepends = git
+ makedepends = dtools
+ depends = curl
+ depends = openssl
+ depends = ncurses>=5.7
+ optdepends = mpv: for music playback
+ provides = vk-cli
+ conflicts = hardening-wrapper
+ source = git+https://github.com/HaCk3Dq/vk.git
+ md5sums = SKIP
+
+pkgname = vk-cli-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..af5a9d6e320
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: substanceof <vk-cli.dev[at]ya[dot]ru>
+pkgname=vk-cli-git
+pkgver=0.7.4.r1.b0d4016
+pkgrel=1
+pkgdesc="A console (ncurses) client for vk.com written in D (git upstream)"
+arch=('x86_64' 'i686')
+url="https://github.com/HaCk3Dq/vk"
+license=('Apache')
+depends=('curl' 'openssl' 'ncurses>=5.7')
+makedepends=('dub' 'dmd>=2.071.0' 'git' 'dtools')
+optdepends=('mpv: for music playback')
+provides=('vk-cli')
+conflicts=('hardening-wrapper')
+
+source=("git+https://github.com/HaCk3Dq/vk.git")
+md5sums=('SKIP')
+
+_gitname=vk
+
+build() {
+ cd "$srcdir/$_gitname"
+ dub build --config=release-shared
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ _installdir="${pkgdir}/usr/bin"
+
+ mkdir -p "${_installdir}"
+ cp vk "${_installdir}/vk"
+}
+