summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1cfddc5685ddb436c156e3eb6947de2cfb8047b (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: mojyack <mojyack at gmail.com>
pkgname=mikan-dictionary-git
pkgver=1
pkgrel=1
pkgdesc='Dictionaries for mikan input method.'
arch=('any')
url='https://github.com/mojyack/mikan-dictionary'
license=('MIT')
depends=()
makedepends=('mecab' 'python')
optdepends=()
provides=('mikan-dictionary')
conflicts=('mikan-dictionary')
source=("source::git+https://github.com/mojyack/mikan-dictionary")
md5sums=('SKIP')

pkgver() {
    cd source
    printf "1.%s" "$(git rev-parse --short HEAD)"
}

build() {
    cd source
    ./build.sh
}

package() {
    cd source
    ./install.sh ${pkgdir}/usr/share/mikan-im
}