blob: 45322c7d0a67add045f9c0bc651624e5df9f5f76 (
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
|
# Maintainer: Heiher <r@hev.cc>
pkgname=ibus-table-zhengma
pkgver=1.4.6
pkgrel=1
pkgdesc="This is a ZhengMa table engine for IBus Table."
arch=("any")
url="http://code.google.com/p/ibus/"
license=('GPL-3')
depends=('ibus-table')
source=("git+git://github.com/heiher/ibus-table-zhengma.git#tag=$pkgver")
sha256sums=('SKIP')
build()
{
cd ${pkgname}
/usr/bin/ibus-table-createdb -n zhengma.db -s zhengma.txt
}
package()
{
cd ${pkgname}
install -d ${pkgdir}/usr/share/ibus-table/icons/
install -d ${pkgdir}/usr/share/ibus-table/tables/
install -m0644 zhengma.svg ${pkgdir}/usr/share/ibus-table/icons/
install -m0644 zhengma.db ${pkgdir}/usr/share/ibus-table/tables/
}
|