blob: 4dd713be2717d89e606f2edd6eb15c0046e61c0a (
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
|
# Maintainer: Simon Ser <contact@emersion.fr>
pkgname=wl-ime-type-git
_pkgname=wl-ime-type
pkgver=r16.bff3775
pkgrel=1
license=('BSD')
pkgdesc="Type text via Wayland's input-method-unstable-v2 protocol"
makedepends=("scdoc" "git")
depends=("wayland")
arch=("x86_64")
url='https://gitlab.freedesktop.org/emersion/wl-ime-type'
source=("${pkgname%-*}::git+https://gitlab.freedesktop.org/emersion/wl-ime-type.git")
sha1sums=('SKIP')
provides=('wl-ime-type')
conflicts=('wl-ime-type')
options=(debug !strip)
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}"
make
}
package() {
cd "${srcdir}/${_pkgname}"
install -Dm755 wl-ime-type "$pkgdir/usr/bin/wl-ime-type"
install -Dm644 wl-ime-type.1 "$pkgdir/usr/share/man/man1/wl-ime-type.1"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
|