[arch-commits] Commit in libime/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 6 19:04:51 UTC 2020
Date: Sunday, December 6, 2020 @ 19:04:51
Author: foutrelis
Revision: 771092
archrelease: copy trunk to community-staging-x86_64
Added:
libime/repos/community-staging-x86_64/
libime/repos/community-staging-x86_64/PKGBUILD
(from rev 771091, libime/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: libime/repos/community-staging-x86_64/PKGBUILD (from rev 771091, libime/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-12-06 19:04:51 UTC (rev 771092)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: csslayer <wengxt AT gmail com>
+
+pkgname=libime
+pkgver=1.0.2
+pkgrel=2
+pkgdesc="A library to support generic input method implementation"
+arch=('x86_64')
+url="https://github.com/fcitx/libime"
+license=('GPL')
+depends=('boost-libs' 'fcitx5')
+makedepends=('boost' 'extra-cmake-modules' 'ninja' 'python')
+source=("https://download.fcitx-im.org/fcitx5/libime/libime-${pkgver}_dict.tar.xz"{,.sig})
+sha512sums=('ebfa49b31194e25e619072ddcc03363221223bf7872a39501bfb9ddfb9d6078a97c69febc07c24181766775e94c5d70eefe3989008d8235bd24a3c5131c3053e'
+ 'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt at gmail.com>
+
+build(){
+ cd $pkgname-$pkgver
+
+ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+ ninja
+}
+
+check() {
+ cd $pkgname-$pkgver
+ ninja test
+}
+
+package() {
+ cd $pkgname-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list