summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVianney Bouchaud2016-01-05 14:42:11 +0100
committerVianney Bouchaud2016-01-05 14:42:11 +0100
commit4086e1d6e806aae386e7d8004ae16499f61cbc6d (patch)
tree51dd0e1f6ede5ad56727187db4c08d766ba53726 /PKGBUILD
downloadaur-4086e1d6e806aae386e7d8004ae16499f61cbc6d.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
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"
+}