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

pkgname=gnome-shell-extension-ibus-tweaker-git
commit=66853f5
pkgver=20230922+${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>=45.0')
makedepends=('git' 'gettext' 'glib2' 'meson' 'sassc')
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}
    git clean -fxd
    git submodule init
    git submodule update
    meson setup build -Dtarget=system --prefix /usr
    meson install -C build --destdir "${srcdir}"
}

package() {
    mv "${srcdir}/usr" "${pkgdir}/"
}