[arch-commits] Commit in ibus-chewing/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Tue Dec 29 14:31:40 UTC 2020
Date: Tuesday, December 29, 2020 @ 14:31:40
Author: yan12125
Revision: 797153
upgpkg: ibus-chewing 1.6.1+12+gc1e7f0d-1; bump to git-master for GTK 3 compatibility
>From https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_versioning, bumping to an unstable version is allowed if
> The non-stable release allows the distribution to drop an EOL component
See: https://archlinux.org/todo/gtk-2-eol/
Modified:
ibus-chewing/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-29 14:31:31 UTC (rev 797152)
+++ PKGBUILD 2020-12-29 14:31:40 UTC (rev 797153)
@@ -6,19 +6,25 @@
# Contributor: Hiroshi Yui <hiroshiyui at gmail.com>
pkgname=ibus-chewing
-pkgver=1.6.1
-pkgrel=5
+pkgver=1.6.1+12+gc1e7f0d
+_commit=c1e7f0d97aa8bb1a1166621c3f0780daa0db06c1
+pkgrel=1
pkgdesc='Chinese Chewing Engine for IBus Framework'
arch=('x86_64')
license=('GPL')
url='https://github.com/definite/ibus-chewing'
-depends=('ibus' 'libchewing' 'libxtst' 'gtk2')
-makedepends=('swig' 'gob2' 'cmake-fedora')
-source=("https://github.com/definite/ibus-chewing/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('b093db79c656433614b9f72719a2b0768a30c2fb6fa066eda1e79cc9932ce1836f7f1e5611612fb44f260fe80a9baa9e18fdc9754b285e8a5f12a87c376cbd39')
+depends=('ibus' 'libchewing' 'libxtst' 'gtk3')
+makedepends=('swig' 'gob2' 'cmake-fedora' 'git')
+source=("git+https://github.com/definite/ibus-chewing.git#commit=$_commit")
+sha512sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --always | sed 's/-/+/g'
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
cmake -B build -S . \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -34,6 +40,6 @@
}
package() {
- cd $pkgname-$pkgver/build
+ cd $pkgname/build
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list