diff options
author | Allen | 2017-03-31 00:06:43 +0800 |
---|---|---|
committer | Allen | 2017-03-31 00:06:43 +0800 |
commit | 54fb453fe730b9d33d921800dbb6d518b9408993 (patch) | |
tree | b3d155c834da0d77a9bf877273f37d9ce9dd7007 | |
download | aur-54fb453fe730b9d33d921800dbb6d518b9408993.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1eacdd125958 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = emoji-keyboard-git + pkgdesc = Virtual keyboard-like emoji picker for linux + pkgver = r2.79d6505 + pkgrel = 1 + url = https://github.com/OzymandiasTheGreat/emoji-keyboard + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + depends = python + depends = python-xlib + provides = emoji-keyboard + conflicts = emoji-keyboard + source = git://github.com/OzymandiasTheGreat/emoji-keyboard.git + md5sums = SKIP + +pkgname = emoji-keyboard-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bf672814ab63 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Allen Choong <allencch at hotmail dot com> +pkgname=emoji-keyboard-git +pkgver=r2.79d6505 +pkgrel=1 +pkgdesc="Virtual keyboard-like emoji picker for linux" +arch=('i686' 'x86_64') +url="https://github.com/OzymandiasTheGreat/emoji-keyboard" +license=('GPL3') +depends=('python' 'python-xlib') +makedepends=('git') +provides=("emoji-keyboard") +conflicts=("emoji-keyboard") +source=("git://github.com/OzymandiasTheGreat/emoji-keyboard.git") +md5sums=('SKIP') + +_gitroot='git://github.com/OzymandiasTheGreat/emoji-keyboard.git' +_gitname='emoji-keyboard' + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${pkgname%-git}" + + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |