diff options
author | Paul Bredbury <brebs@sent.com> | 2019-04-07 20:16:08 +0100 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-04-08 08:36:13 +0000 |
commit | 37e23e7ab9ae5a1885a65a92d049bcd170755bc5 (patch) | |
tree | ae345edd92228e94f77220ae2e58f02b6611cbda /community/gucharmap | |
parent | 016c40cdb5ef648a321d00800d8d97c7f0097a73 (diff) | |
download | aports-37e23e7ab9ae5a1885a65a92d049bcd170755bc5.tar.bz2 aports-37e23e7ab9ae5a1885a65a92d049bcd170755bc5.tar.xz |
community/gucharmap: upgrade to 12.0.1, modernize
Needs unzip, to prevent:
processing /usr/share/unicode/Unihan.zip./usr/bin/unzip: unrecognized option: c
Diffstat (limited to 'community/gucharmap')
-rw-r--r-- | community/gucharmap/APKBUILD | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/community/gucharmap/APKBUILD b/community/gucharmap/APKBUILD index 7a29c3b8b5..2104ee5685 100644 --- a/community/gucharmap/APKBUILD +++ b/community/gucharmap/APKBUILD @@ -1,26 +1,22 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gucharmap -pkgver=3.18.2 +pkgver=12.0.1 pkgrel=0 pkgdesc="the GNOME Character Map, based on the Unicode Character Database" -url="http://live.gnome.org/Gucharmap" +url="https://wiki.gnome.org/Apps/Gucharmap" arch="all" license="GPL" -depends= +depends="unicode-character-database" makedepends="libxml2-utils gtk+3.0-dev itstool desktop-file-utils gobject-introspection-dev - appstream-glib intltool" + 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 - -prepare() { - cd "$_builddir" -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -28,15 +24,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - || return 1 - make || return 1 + --with-unicode-data=/usr/share/unicode + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } -md5sums="79670f9b8c9a4888f4ea439fd2e8c589 gucharmap-3.18.2.tar.xz" -sha256sums="80141d3e892c3c4812c1a8fad8f89978559ef19e933843267e6e9a5524c09ec9 gucharmap-3.18.2.tar.xz" -sha512sums="d12eefb56272192762086271aa65bfa8b9a8843ac68a6affa1af3d2c891227b0fdae1c274976ceb883ecce26b7d9a2b28c2712155650c0969d6da77b1ff482b5 gucharmap-3.18.2.tar.xz" +sha512sums="989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2 gucharmap-12.0.1.tar.xz" |