diff options
author | Oskar Grunning | 2018-10-18 21:12:20 +0200 |
---|---|---|
committer | Oskar Grunning | 2018-10-18 21:12:20 +0200 |
commit | ad998b955edea66040f848a1f2c9bd52edac47b9 (patch) | |
tree | acd481d774032b9e96998ae2f64880aa0f6b421d | |
download | aur-ad998b955edea66040f848a1f2c9bd52edac47b9.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4ba3ef0a7990 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = weechat-edit-git + pkgdesc = Compose weechat messages in your $EDITOR + pkgver = r8.6aface4 + pkgrel = 1 + url = https://github.com/keith/edit-weechat + arch = any + license = MIT + depends = weechat + source = git+https://github.com/keith/edit-weechat.git + sha512sums = SKIP + +pkgname = weechat-edit-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..65e238af925c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +arch=('any') +depends=('weechat') +license=('MIT') +sha512sums=('SKIP') +pkgdesc='Compose weechat messages in your $EDITOR' +pkgname=weechat-edit-git +pkgrel=1 +pkgver=r8.6aface4 +source=('git+https://github.com/keith/edit-weechat.git') +url='https://github.com/keith/edit-weechat' + +_gitname='edit-weechat' + +pkgver() { + cd "${_gitname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${_gitname}" + + install -Dm644 "edit.py" "${pkgdir}/usr/lib/weechat/python/edit.py" +} |