archrelease: copy trunk to community-any
[arch-community.git] / rofi-emoji / trunk / PKGBUILD
blob08eecac056c7e64bb6f96eeffdbdc056831ae8a8
1 # Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
2 # Contributor: Magnus Bergmark <magnus.bergmark@gmail.com>
4 pkgname=rofi-emoji
5 pkgver=3.2.0
6 pkgrel=1
7 pkgdesc='A Rofi plugin for selecting emojis'
8 url='https://github.com/Mange/rofi-emoji'
9 arch=('x86_64')
10 license=('MIT')
11 depends=('rofi')
12 checkdepends=('check')
13 optdepends=(
14   'xsel: X11 support'
15   'xclip: X11 support'
16   'wl-clipboard: Wayland support'
18 source=(https://github.com/Mange/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
19 b2sums=('a97da1cdbae7ecf66e39f9700ee0f2b5f47254f315bfef611cc4f98483587d876135c16eb94319d1844598bbd85864e1b1175ebdedd86dac6585b57887d5ca1a')
21 build() {
22   cd ${pkgname}-${pkgver}
23   autoreconf -i
24   ./configure --prefix=/usr
25   make
28 check() {
29   cd ${pkgname}-${pkgver}
30   make check
33 package() {
34   cd ${pkgname}-${pkgver}
35   make DESTDIR="${pkgdir}/" install
36   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
39 # vim: ts=2 sw=2 et: