aboutsummaryrefslogblamecommitdiffstats
path: root/main/libgnomekbd/APKBUILD
blob: 6ab2be854046498b1c085622236bb0c27a4a3817 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                         

            




                                


                                                                                        

                                   

                                                                                                  




                                          
                                     








                                                                        



                                 
                                             







                                                  


                                                                                                                                                                       
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=libgnomekbd
pkgver=3.6.0
pkgrel=0
pkgdesc="GNOME keyboard library"
url="http://www.gnome.org/"
arch="all"
license="LGPL"
depends=
depends_dev="gtk+3.0-dev gconf-dev libxklavier-dev libxml2-dev gobject-introspection-dev
	libxcursor-dev libxcomposite-dev libxi-dev libxau-dev libxdmcp-dev libxext-dev
	libxcb-dev"
makedepends="$depends_dev intltool"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"

_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
	local i
	cd "$_builddir"
	update_config_sub || return 1
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

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

md5sums="2f000ed5aa11454936c846a784e484c7  libgnomekbd-3.6.0.tar.xz"
sha256sums="c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09  libgnomekbd-3.6.0.tar.xz"
sha512sums="27d0711eeebba91ca0dbed079c17acfec97116153a01f4f6e78cb30044afc534c438f655c6836b74b377acb8116d3b70e1f09578f182bb4fc51d8d05e89c6f17  libgnomekbd-3.6.0.tar.xz"