aboutsummaryrefslogblamecommitdiffstats
path: root/community/gucharmap/APKBUILD
blob: 35a49b091c009385a08888d50e4796dcfd90946f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                               
                 
             
        
                               
                                           
          
                                        
                                                                  
                                                                               


                                                                                            

         
                                                                             
                      


                                               
                                                   

 
         
                                            

 
           
                                                              

 
                                                                                                                                                                      
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gucharmap
pkgver=13.0.6
pkgrel=0
pkgdesc="GNOME Unicode Charmap"
url="https://wiki.gnome.org/Apps/Gucharmap"
arch="all"
license="GPL-3.0-or-later GFDL-1.3-only"
makedepends="gtk+3.0-dev itstool glib-dev unzip desktop-file-utils
	gobject-introspection-dev unicode-character-database>=${pkgver/.*/}.0.0
	meson vala perl"
subpackages="$pkgname-dev $pkgname-lang"
source="https://gitlab.gnome.org/GNOME/gucharmap/-/archive/$pkgver/gucharmap-$pkgver.tar.gz"

build() {
	# Disable docs due to https://github.com/mesonbuild/meson/issues/5843
	abuild-meson \
		-Ducd_path=/usr/share/unicode \
		-Ddocs=false \
		output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="b05570290a165b4ae4bf655801733e8ab16bef9609fe4081d78b6827db4ea4e7fc13f5d6872dda0e6b41dab99649f9dedbd1da28dea9c31b46b6ed1e8911959c  gucharmap-13.0.6.tar.gz"