[arch-commits] Commit in uim/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 10:11:29 UTC 2020


    Date: Tuesday, May 19, 2020 @ 10:11:29
  Author: felixonmars
Revision: 386637

archrelease: copy trunk to staging-x86_64

Added:
  uim/repos/staging-x86_64/
  uim/repos/staging-x86_64/PKGBUILD
    (from rev 386636, uim/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: uim/repos/staging-x86_64/PKGBUILD (from rev 386636, uim/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 10:11:29 UTC (rev 386637)
@@ -0,0 +1,41 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=uim
+pkgver=1.8.8
+pkgrel=5
+pkgdesc='Multilingual input method library'
+url='https://github.com/uim/uim'
+license=('custom:BSD')
+arch=('x86_64')
+depends=('libxft' 'libedit' 'm17n-lib')
+makedepends=('intltool' 'gettext' 'gtk2' 'gtk3' 'qt5-x11extras' 'anthy' 'skk-jisyo')
+optdepends=('qt5-x11extras: immodule and helper applications'
+            'gtk2: immodule and helper applications'
+            'gtk3: immodule and helper applications'
+            'skk-jisyo: input method'
+            'anthy: input method')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+	./configure \
+		--prefix=/usr \
+		--libexecdir=/usr/lib/uim \
+		--with-qt5-immodule \
+		--with-qt5 \
+		--with-anthy-utf8 \
+		--with-skk \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install -j1 # FS#41112
+	install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}



More information about the arch-commits mailing list