aboutsummaryrefslogtreecommitdiffstats
path: root/community/gucharmap/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-12 18:32:06 -0300
committerTBK <tbk@jjtc.eu>2019-05-25 02:57:40 +0200
commit6ec50c425a430822f55d43347836c981ab0324ad (patch)
tree33441ab33b6179aeb8912fb6345f1927aa671920 /community/gucharmap/APKBUILD
parent6f198f82871774a69e8fc75bc961bc9e0bcc25dc (diff)
downloadaports-6ec50c425a430822f55d43347836c981ab0324ad.tar.gz
aports-6ec50c425a430822f55d43347836c981ab0324ad.tar.bz2
aports-6ec50c425a430822f55d43347836c981ab0324ad.tar.xz
community/gucharmap: merge changes from more recent testing/gucharmap
Closes: GH-7849
Diffstat (limited to 'community/gucharmap/APKBUILD')
-rw-r--r--community/gucharmap/APKBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/community/gucharmap/APKBUILD b/community/gucharmap/APKBUILD
index 2104ee5685..af0ba52620 100644
--- a/community/gucharmap/APKBUILD
+++ b/community/gucharmap/APKBUILD
@@ -1,35 +1,34 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gucharmap
pkgver=12.0.1
pkgrel=0
-pkgdesc="the GNOME Character Map, based on the Unicode Character Database"
+pkgdesc="GNOME Unicode Charmap"
url="https://wiki.gnome.org/Apps/Gucharmap"
arch="all"
-license="GPL"
-depends="unicode-character-database"
-makedepends="libxml2-utils gtk+3.0-dev itstool desktop-file-utils gobject-introspection-dev
- appstream-glib intltool unzip"
-install=
-subpackages="$pkgname-dev $pkgname-lang"
-source="https://download.gnome.org/sources/gucharmap/${pkgver%.*}/gucharmap-$pkgver.tar.xz"
-
-builddir="$srcdir/$pkgname-$pkgver"
+license="GPL-3.0-or-later GFDL-1.3-only"
+makedepends="gtk+3.0-dev intltool itstool glib-dev unzip desktop-file-utils
+ gobject-introspection-dev unicode-character-database>=${pkgver/.*/}.0.0"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/gucharmap/${pkgver%.*}/gucharmap-${pkgver}.tar.xz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
+ --localstatedir=/var \
--with-unicode-data=/usr/share/unicode
make
}
+check() {
+ make check
+}
+
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}