summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStanislav Seletskiy2016-05-16 17:03:14 +0600
committerStanislav Seletskiy2016-05-16 17:04:24 +0600
commit4e8e82e50738c25ca1e181beafec68e75a133011 (patch)
tree52db74e69d40a55f7df3d662aaaf2d4022955de3 /PKGBUILD
downloadaur-4e8e82e50738c25ca1e181beafec68e75a133011.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b2108d25581
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+pkgname="mcabber-module-highlight-git"
+pkgver=autogenerated
+pkgrel=1
+pkgdesc="An mcabber plugin to highlight specified messages"
+url="https://github.com/jmkeyes/mcabber-highlight"
+arch=('any')
+license=('GPL')
+makedepends=()
+source=(git+https://github.com/jmkeyes/mcabber-highlight)
+md5sums=(SKIP)
+
+pkgver() {
+ cd "${pkgname/-module/}"
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+build() {
+ cd "${pkgname/-module/}"
+
+ make
+}
+
+package() {
+ install -D "$srcdir/mcabber-highlight/libhighlight.so" "$pkgdir/usr/lib/mcabber/libhighlight.so"
+}