aboutsummaryrefslogtreecommitdiffstats
path: root/main/gucharmap/APKBUILD
blob: 9ee4fc2be7d43978c297150f52399b24813383ab (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
# Contributor: 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gucharmap
pkgver=2.32.0
pkgrel=0
pkgdesc="the GNOME Character Map, based on the Unicode Character Database"
url="http://live.gnome.org/Gucharmap"
license="GPL"
depends=
makedepends="gtk+-dev"
install=
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/gucharmap/${pkgver%.*}/gucharmap-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="1a2eb13af8e2c51a811b96748378d351  gucharmap-2.32.0.tar.bz2"