summaryrefslogtreecommitdiffstats
path: root/main/gucharmap/APKBUILD
blob: 731792e898782123fb542619fc3a3374d574a5cd (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.1
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="84327620a0234fa26c0a08fefea2aec8  gucharmap-2.32.1.tar.bz2"