[arch-commits] Commit in ibus-sunpinyin/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Mon Mar 16 09:49:31 UTC 2020


    Date: Monday, March 16, 2020 @ 09:49:31
  Author: bgyorgy
Revision: 599104

archrelease: copy trunk to community-x86_64

Added:
  ibus-sunpinyin/repos/community-x86_64/PKGBUILD
    (from rev 599103, ibus-sunpinyin/trunk/PKGBUILD)
Deleted:
  ibus-sunpinyin/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 37 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-16 09:49:28 UTC (rev 599103)
+++ PKGBUILD	2020-03-16 09:49:31 UTC (rev 599104)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=ibus-sunpinyin
-_pkgname=sunpinyin
-pkgver=3.0.0rc1
-_tag=v3.0.0-rc1
-pkgrel=4
-pkgdesc="IBus Wrapper for sunpinyin"
-arch=('x86_64')
-url="http://sunpinyin.googlecode.com"
-license=('LGPL')
-depends=('sunpinyin' 'sunpinyin-data' 'ibus' 'pygtk')
-makedepends=('git' 'scons')
-source=("git://github.com/sunpinyin/sunpinyin.git#tag=$_tag")
-md5sums=("SKIP")
-
-build() {
-  cd "$srcdir/$_pkgname/wrapper/ibus"
-  sed -i -e "s|python|python2|" setup/ibus-setup-sunpinyin.in
-  
-  scons \
-    --prefix=/usr
-}
-
-package() {
-  cd "$srcdir/$_pkgname/wrapper/ibus"
-
-  scons \
-    --prefix=/usr \
-    --install-sandbox="$pkgdir" \
-    install
-}

Copied: ibus-sunpinyin/repos/community-x86_64/PKGBUILD (from rev 599103, ibus-sunpinyin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-16 09:49:31 UTC (rev 599104)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=ibus-sunpinyin
+_pkgname=sunpinyin
+pkgver=3.0.0rc1+32+gf39c195
+pkgrel=1
+pkgdesc="IBus Wrapper for sunpinyin"
+arch=('x86_64')
+url="https://github.com/sunpinyin/sunpinyin"
+license=('LGPL')
+depends=('sunpinyin' 'sunpinyin-data' 'ibus' 'gtk3' 'python-gobject')
+makedepends=('git' 'scons')
+_commit=f39c195db08661e894017507842991a1ef70bedf  # master
+source=("git+https://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+  cd $_pkgname
+  git describe --tags | sed 's/^v//;s/-rc/rc/;s/-/+/g'
+}
+
+build() {
+  cd "$srcdir/$_pkgname/wrapper/ibus"
+  
+  scons \
+    --prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$_pkgname/wrapper/ibus"
+
+  scons \
+    --prefix=/usr \
+    --install-sandbox="$pkgdir" \
+    install
+}



More information about the arch-commits mailing list