summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c9a2d1191e6b2ef0d981a491f9a02ed9afc2b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Carwin Young <carwinyoung+aur@gmail.com>
pkgname=ibus-ancient-git
pkgver=r11.399cba4
pkgrel=1
pkgdesc="ibus-compatible input methods and keyboards for ancient languages."
arch=(any)
url="https://github.com/emk/ibus-ancient"
license=('Unicode' 'UNLICENSE')
depends=('ibus' 'ibus-m17n' 'ibus-table')
makedepends=('git')
source=("git+https://github.com/emk/ibus-ancient.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname%-git}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  echo "$srcdir/${pkgname%-git}"
  cd "$srcdir/${pkgname%-git}"
  ./install.sh
}