# Maintainer: Weitian Leung pkgname=wms-git pkgver=1.0.0 pkgrel=1 pkgdesc="A tool for changing WPS Office language with online languages supports." url="https://github.com/timxx/wms" arch=('i686' 'x86_64') license=('MIT') depends=('qt5-base' 'desktop-file-utils' 'p7zip' 'polkit' 'wps-office') makedepends=('cmake' 'qt5-tools') source=("$pkgname::git+https://github.com/timxx/wms.git") sha256sums=('SKIP') prepare() { mkdir -p "${srcdir}/build" } build() { cd "${srcdir}/build" cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ "${srcdir}/${pkgname}" make } package() { cd "${srcdir}/build" make DESTDIR="${pkgdir}" install }