summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1388591e5fbf827d72259f1c751c2ab2777d9642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Firegem <mrfiregem [at] protonmail [dot] ch>
# Maintainer: KafCoppelia <k740677208@gmail.com>

pkgname=bemoji-git
pkgver=r54.cc9f809
pkgrel=1
pkgdesc="Emoji picker that remembers your favorites, with support for bemenu/wofi/rofi/dmenu and wayland/X11."
arch=('any')
url="https://github.com/marty-oehme/bemoji"
license=('MIT')
depends=('curl')
optdepends=(
    'bemenu: Emoji picker menu'
    'rofi: Emoji picker menu'
    'dmenu: Emoji picker menu'
    'wl-clipboard: For copying to clipboard'
    'xclip: For copying to clipboard'
    'wtype: For typing selected emoji'
    'xdotool: For typing selected emoji'
)
makedepends=('git')
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
source=(${pkgname}::git+${url}.git)
md5sums=('SKIP')

pkgver() {
    cd ${srcdir}/${pkgname}
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd ${srcdir}/${pkgname}
    install -Dm644 -t ${pkgdir}/usr/share/licenses/${pkgname} LICENSE
    install -Dm755 -t ${pkgdir}/usr/bin bemoji
}