PKGBUILD 564 Bytes
Newer Older
Xuetian Weng's avatar
Xuetian Weng committed
1
pkgname=fcitx-table-other
2
pkgver=0.2.4
3
pkgrel=1
Xuetian Weng's avatar
Xuetian Weng committed
4
pkgdesc="Extra non-chinese table data for fcitx"
5
arch=('any')
6
url="https://github.com/fcitx/fcitx-table-other"
7 8 9
license=('GPL2')
depends=('fcitx')
makedepends=('cmake' 'intltool')
10
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
11
md5sums=('b53daa97b02cfca0b5f2f59e53bc67b0')
Xuetian Weng's avatar
Xuetian Weng committed
12 13 14

build(){
    cd "$srcdir/${pkgname}-${pkgver}"
15
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
Chaoting Liu's avatar
Chaoting Liu committed
16
    make
Xuetian Weng's avatar
Xuetian Weng committed
17 18 19 20
}

package ()
{
21
    cd "$srcdir/${pkgname}-${pkgver}"
Xuetian Weng's avatar
Xuetian Weng committed
22 23
    make DESTDIR=${pkgdir} install
}