ibus-bamboo: update to 0.4.8
This commit is contained in:
parent
ff614bef2c
commit
fa38628e98
1 changed files with 11 additions and 10 deletions
|
@ -1,28 +1,29 @@
|
|||
# Template file for 'ibus-bamboo'
|
||||
pkgname=ibus-bamboo
|
||||
version=0.4.6
|
||||
version=0.4.8
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="github.com/BambooEngine/ibus-bamboo"
|
||||
go_package="github.com/BambooEngine/ibus-bamboo/src/ibus-bamboo"
|
||||
hostmakedepends="git"
|
||||
hostmakedepends="go"
|
||||
makedepends="libXtst-devel libX11-devel"
|
||||
depends="ibus"
|
||||
short_desc="Vietnamese input method for ibus"
|
||||
maintainer="ndgnuh <ndgnuh99@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/BambooEngine/ibus-bamboo"
|
||||
distfiles="https://${go_import_path}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum="2345394fd1fd8de5a9f620f3775ab34c3233c16eb6a9ffe166e3ed6f1a31f1bb"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum="6d966d37d29dbb498f18bb3f34c5107bfdc2b7d2ecec09dd69421b89684cc561"
|
||||
nocross="armv7l-linux-gnueabihf-gcc: error: unrecognized command line option '-m64'"
|
||||
_engine_dir="usr/share/ibus-bamboo/"
|
||||
_ibus_dir="usr/share/ibus"
|
||||
|
||||
post_install() {
|
||||
do_build() {
|
||||
GOPATH=$wrksrc go build -buildmode=pie -o ibus-bamboo -ldflags="-s -w -extld=$CC" ./src/ibus-bamboo
|
||||
}
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${PKGDESTDIR}/${_engine_dir}
|
||||
mkdir -p ${PKGDESTDIR}/usr/lib/
|
||||
mkdir -p ${PKGDESTDIR}/${_ibus_dir}/component
|
||||
mv ${PKGDESTDIR}/usr/bin/ibus-bamboo ${PKGDESTDIR}/usr/lib/ibus-engine-bamboo
|
||||
cp ${wrksrc}/ibus-bamboo ${PKGDESTDIR}/usr/lib/ibus-engine-bamboo
|
||||
cp -R -f viet-on.png data ${PKGDESTDIR}/${_engine_dir}
|
||||
cp -f bamboo.xml ${PKGDESTDIR}/${_ibus_dir}/component/
|
||||
rm ${PKGDESTDIR}/usr/bin -d
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue