aboutsummaryrefslogtreecommitdiffstats
path: root/main/gucharmap/APKBUILD
blob: b4bf03619fe942080feda62ff240eb0142efeb03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gucharmap
pkgver=3.14.2
pkgrel=0
pkgdesc="the GNOME Character Map, based on the Unicode Character Database"
url="http://live.gnome.org/Gucharmap"
arch="all"
license="GPL"
depends=
makedepends="gtk+3.0-dev itstool desktop-file-utils gobject-introspection-dev
	appstream-glib"
install=
subpackages="$pkgname-dev $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/gucharmap/${pkgver%.*}/gucharmap-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" -name '*.la' -delete
}

md5sums="a2fe675ba17055fc49776c402a9f9eec  gucharmap-3.14.2.tar.xz"
sha256sums="fdc3e1889c48c0835d349e2910000f62946ee9f2735d7f64d6a3ad5869c87872  gucharmap-3.14.2.tar.xz"
sha512sums="e1678ce27dbf0d316bb3b25655323dca071141800a1f0d35f354093a2126c72758a8d004fcc95e7d4221f2cd5c1b0328b35a2ff43eb76e2338d165c5bc32744b  gucharmap-3.14.2.tar.xz"