blob: 34ba0f71c1a6d6c120ba821669887fd0965276f3 (
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
|
# Maintainer: lilydjwg <lilydjwg@gmail.com>
pkgname=fcitx5-paste-primary-git
_gitname=fcitx5-paste-primary
pkgver=0.16
pkgrel=3
pkgdesc="Paste-primary module for fcitx, paste primary selection with keyboard shortcut."
arch=('i686' 'x86_64')
url="https://github.com/lilydjwg/fcitx5-paste-primary"
license=('GPL-2.0-or-later')
depends=('fcitx5')
makedepends=('cmake' 'git' 'extra-cmake-modules')
optdepends=('wl-clipboard: for Wayland support')
source=('git+https://github.com/lilydjwg/fcitx5-paste-primary.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
echo "0.$(git rev-list --count HEAD)"
}
build() {
cd "$srcdir/$_gitname"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo .
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="${pkgdir}" install
}
|