Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / libskk


Commits:
183f137d by Felix Yan at 2024-09-14T10:29:19+03:00
upgpkg: 1.0.5-3: apply fixes for #1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
 pkgbase = libskk
        pkgdesc = GObject-based library to deal with Japanese kana-to-kanji 
conversion method
        pkgver = 1.0.5
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/ueno/libskk
        arch = x86_64
        license = GPL3
+       makedepends = git
        makedepends = intltool
        makedepends = gnome-common
        makedepends = gobject-introspection
@@ -12,7 +13,7 @@ pkgbase = libskk
        depends = libgee
        depends = libxkbcommon
        depends = json-glib
-       source = 
libskk-1.0.5.tar.gz::https://github.com/ueno/libskk/archive/1.0.5.tar.gz
-       sha512sums = 
50b07b244e1fbec13764ca00b90ede2584c53dd5c16783c9bb9114f69f43dbebd352653f335f1c3584b8c42ef4184e891e0ca7427c38afc99131196721e1c1c1
+       source = git+https://github.com/ueno/libskk.git#tag=1.0.5
+       sha512sums = 
a6db4fa8fe898848a20145c00bdd9e450f73fd28882b288dbe37a32628464d5fed3d72bd2039b8c2d0505b06699f1b38e3e15aa165902c5a035f22c8eba67d21
 
 pkgname = libskk


=====================================
PKGBUILD
=====================================
@@ -4,29 +4,38 @@
 
 pkgname=libskk
 pkgver=1.0.5
-pkgrel=2
+pkgrel=3
 pkgdesc='GObject-based library to deal with Japanese kana-to-kanji conversion 
method'
 arch=('x86_64')
 url='https://github.com/ueno/libskk'
 license=('GPL3')
 depends=('libgee' 'libxkbcommon' 'json-glib')
-makedepends=('intltool' 'gnome-common' 'gobject-introspection' 'vala')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ueno/libskk/archive/$pkgver.tar.gz";)
-sha512sums=('50b07b244e1fbec13764ca00b90ede2584c53dd5c16783c9bb9114f69f43dbebd352653f335f1c3584b8c42ef4184e891e0ca7427c38afc99131196721e1c1c1')
+makedepends=('git' 'intltool' 'gnome-common' 'gobject-introspection' 'vala')
+source=("git+https://github.com/ueno/libskk.git#tag=$pkgver";)
+sha512sums=('a6db4fa8fe898848a20145c00bdd9e450f73fd28882b288dbe37a32628464d5fed3d72bd2039b8c2d0505b06699f1b38e3e15aa165902c5a035f22c8eba67d21')
+
+prepare() {
+  cd libskk
+  # https://github.com/ueno/libskk/pull/85
+  git cherry-pick -n 7ec4a42459b090b23a772d6a568f910f380e44db
+
+  # https://gitlab.archlinux.org/archlinux/packaging/packages/libskk/-/issues/1
+  git cherry-pick -n a2936e865fcc00e6e0c0bfc6c1d62db19e49fe74
+}
 
 build() {
-  cd $pkgname-$pkgver
+  cd libskk
   ./autogen.sh --prefix=/usr
   make
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd libskk
   make check
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd libskk
   make DESTDIR="$pkgdir" install
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libskk/-/commit/183f137da24e0b20bb2ff37dc84471cb0ccdd812

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libskk/-/commit/183f137da24e0b20bb2ff37dc84471cb0ccdd812
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to