summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d3d74f9d5592db16f3992d57481b7ad00e69ca4 (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
# Maintainter: Marc Zuo <marcczuo at gmail dot com>
pkgname=ibus-grc-beta-code-git
pkgver=0.1.r0.ga7c1347
pkgrel=3
pkgdesc="A m17n keymap file for polytonic Greek using beta code"
arch=('any')
url="https://github.com/marczuo/grc-beta-code"
license=('BSD')
depends=('ibus-m17n')
makedepends=('git')
provides=('ibus-grc-beta-code')
conflicts=('ibus-grc-beta-code')
source=('git+https://github.com/marczuo/grc-beta-code')
sha256sums=('SKIP')

pkgver() {
  cd grc-beta-code
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  true
}

package() {
  cd grc-beta-code
  install -Dm 644 grc-beta-code.mim "$pkgdir/usr/share/m17n/grc-beta-code.mim"
  install -Dm 644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}

# vim:set ft=PKGBUILD ts=2 sw=2 et: