summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6452cecf88435d06f32dde9d21abe0fb0c35415c (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
# Maintainer: Ace Breakpoint <chemistudio@gmail.com>

pkgname=gnome-shell-extension-ibus-tweaker-git
commit=bc14a13
pkgver=20211017+${commit}
pkgrel=1
pkgdesc="Tweaker of ibus in gnome-shell for orientation, theme, font and input mode auto-switch."
arch=('any')
url="https://github.com/tuberry/ibus-tweaker"
license=('GPL3')
depends=('gnome-shell>=40.0')
makedepends=('git' 'gettext' 'glib2')
conflicts=('gnome-shell-extension-ibus-tweaker')
provides=('gnome-shell-extension-ibus-tweaker')
groups=('gnome-shell-extensions')
source=("git+https://github.com/tuberry/ibus-tweaker.git")
sha256sums=('SKIP')

build() {
    cd "ibus-tweaker"
    git reset --hard ${commit}
    make _build
}

package() {
  mkdir -p "${pkgdir}/usr/share/gnome-shell/extensions/"
  mv "${srcdir}/ibus-tweaker/_build" "${pkgdir}/usr/share/gnome-shell/extensions/ibus-tweaker@tuberry.github.com"
}