summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ba8f20cbec0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Tue Jan 5 13:41:03 UTC 2016
+pkgbase = mcabber-module-cmd-hg
+ pkgdesc = Send a command output to your buddy
+ pkgver = r38.f195352808fb
+ pkgrel = 1
+ url = http://www.isbear.org.ua/docs/mcabber-cmd/index/
+ arch = any
+ license = GPL
+ makedepends = mercurial
+ depends = mcabber-hg
+ source = mcabber-module-cmd-hg::hg+http://www.isbear.org.ua/hg/isbear/mcabber-cmd
+ md5sums = SKIP
+
+pkgname = mcabber-module-cmd-hg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6ff67728ab3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: vianney <v at bouchaud dot org>
+pkgname="mcabber-module-cmd-hg"
+pkgver=r38.f195352808fb
+pkgrel=1
+pkgdesc="Send a command output to your buddy"
+url="http://www.isbear.org.ua/docs/mcabber-cmd/index/"
+arch=('any')
+license=('GPL')
+depends=('mcabber-hg')
+makedepends=('mercurial')
+source=(${pkgname}::hg+http://www.isbear.org.ua/hg/isbear/mcabber-cmd)
+md5sums=(SKIP)
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ mkdir -p build
+ cd "build"
+
+ cmake ..
+ make
+}
+
+package() {
+ install -D "$srcdir/$pkgname/build/libcmd.so" "$pkgdir/usr/lib/mcabber/libcmd.so"
+}