diff options
author | Stanislav Seletskiy | 2016-05-16 17:03:14 +0600 |
---|---|---|
committer | Stanislav Seletskiy | 2016-05-16 17:04:24 +0600 |
commit | 4e8e82e50738c25ca1e181beafec68e75a133011 (patch) | |
tree | 52db74e69d40a55f7df3d662aaaf2d4022955de3 | |
download | aur-4e8e82e50738c25ca1e181beafec68e75a133011.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d5caf3d54608 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +# Generated by mksrcinfo v8 +# Mon May 16 11:04:22 UTC 2016 +pkgbase = mcabber-module-highlight-git + pkgdesc = An mcabber plugin to highlight specified messages + pkgver = autogenerated + pkgrel = 1 + url = https://github.com/jmkeyes/mcabber-highlight + arch = any + license = GPL + source = git+https://github.com/jmkeyes/mcabber-highlight + md5sums = SKIP + +pkgname = mcabber-module-highlight-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..09e10897633a --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/mcabber-highlight/ +*.tar.xz +/pkg/ +/src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b2108d25581a --- /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" +} |