summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6daced9d30b216b45f64a9a8ef55e65d394d0cc0 (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
# Maintainer: Han <maghsk2017@gmail.com>
# Maintainer: Bruce Zhang
pkgname=imewlconverter-bin
_name=imewlconverter
pkgver=2.9.0
pkgrel=1
pkgdesc="一款开源免费的输入法词库转换程序"
arch=('x86_64' 'i686')
url="https://github.com/studyzy/imewlconverter"
license=('GPL3')
depends=('dotnet-runtime' 'dotnet-runtime-3.1')
provides=('imewlconverter')
conflicts=('imewlconverter')
source=(
	"$pkgname-$pkgver.src.zip::https://github.com/studyzy/imewlconverter/releases/download/v$pkgver/imewlconverter_Linux_Mac.tar.gz"
)
sha256sums=('c15d3a9dffe007235ad593cf75f2c89f44a9550a5596bc2b009745f7012434a9')

package() {
	find . -type f -exec install -Dm644 {} "$pkgdir/usr/share/imewlconverter/{}" \;
	chmod +x "$pkgdir/usr/share/imewlconverter/ImeWlConverterCmd"
	mkdir -p "$pkgdir/usr/bin"
	ln -s /usr/share/imewlconverter/ImeWlConverterCmd "$pkgdir/usr/bin/ImeWlConverterCmd"
	ln -s /usr/share/imewlconverter/ImeWlConverterCmd "$pkgdir/usr/bin/imewlconverter"
}