summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lane2018-11-22 10:28:22 +0000
committerChris Lane2018-11-22 10:28:22 +0000
commit62cc302e979f2f063a137c63b05c0aa8bb46616f (patch)
tree5ae04e642f6ebec96613dcfa5c1fdc58d219abe2
parent666b5d7b96d2723c214ca160fb2f35b5014bc721 (diff)
downloadaur-62cc302e979f2f063a137c63b05c0aa8bb46616f.tar.gz
Cleanup PKGBUILD and make app indicator optional
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD17
2 files changed, 12 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 359aabe7fab..c608bc036bd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,19 @@
pkgbase = emoji-keyboard-edam-git
pkgdesc = Virtual keyboard-like emoji picker for Linux (edam's fork).
pkgver = r38.af418a0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/edam/emoji-keyboard
- arch = i686
- arch = x86_64
+ arch = any
license = GPL3
makedepends = git
makedepends = python-setuptools
depends = python-gobject
- depends = libappindicator-gtk3
depends = python-evdev
depends = python-xlib
- provides = emoji-keyboard-edam
- conflicts = emoji-keyboard-edam
+ optdepends = libappindicator-gtk3: app indicator support (e.g. Unity, KDE, Systray)
+ provides = emoji-keyboard
+ conflicts = emoji-keyboard
+ conflicts = emoji-keyboard-git
source = emoji-keyboard-edam::git+https://github.com/edam/emoji-keyboard.git#branch=master
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 95ca9926916..2fd2153a239 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,22 @@
# Maintainer: Zhanibek Adilbekov <zhanibek.adilbekov@pm.me>
pkgname='emoji-keyboard-edam-git'
pkgver=r38.af418a0
-pkgrel=1
+pkgrel=2
pkgdesc="Virtual keyboard-like emoji picker for Linux (edam's fork)."
-arch=('i686' 'x86_64')
+arch=('any')
url="https://github.com/edam/emoji-keyboard"
license=('GPL3')
-groups=()
-depends=('python-gobject' 'libappindicator-gtk3' 'python-evdev' 'python-xlib')
+depends=('python-gobject' 'python-evdev' 'python-xlib')
makedepends=('git' 'python-setuptools')
-provides=("${pkgname%-git}")
-conflicts=("${pkgname%-git}")
-replaces=()
-backup=()
-options=()
+optdepends=('libappindicator-gtk3: app indicator support (e.g. Unity, KDE, Systray)')
+provides=('emoji-keyboard')
+conflicts=('emoji-keyboard' 'emoji-keyboard-git')
install=
source=("${pkgname%-git}::git+https://github.com/edam/emoji-keyboard.git#branch=master")
-noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
-# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}