diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-16 17:47:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-16 17:49:32 +0000 |
commit | 059d7a06b8c9a752f593d7961da2edb3fad2d808 (patch) | |
tree | 35b1bfbd60e11cc43a1500aa0a9425e1e0745af0 /community/libgnomekbd | |
parent | f3dbb59035962c243c857642060a73b078c285c5 (diff) | |
download | aports-059d7a06b8c9a752f593d7961da2edb3fad2d808.tar.bz2 aports-059d7a06b8c9a752f593d7961da2edb3fad2d808.tar.xz |
main/libgnomekbd: move to community
Diffstat (limited to 'community/libgnomekbd')
-rw-r--r-- | community/libgnomekbd/APKBUILD | 35 | ||||
-rw-r--r-- | community/libgnomekbd/libgnomekbd.post-install | 7 | ||||
-rw-r--r-- | community/libgnomekbd/libgnomekbd.post-upgrade | 7 | ||||
-rw-r--r-- | community/libgnomekbd/libgnomekbd.pre-deinstall | 7 |
4 files changed, 56 insertions, 0 deletions
diff --git a/community/libgnomekbd/APKBUILD b/community/libgnomekbd/APKBUILD new file mode 100644 index 0000000000..604100b999 --- /dev/null +++ b/community/libgnomekbd/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=libgnomekbd +pkgver=3.26.0 +pkgrel=0 +pkgdesc="GNOME keyboard library" +url="https://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="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" + +buiddir="${srcdir}/${pkgname}-${pkgver}" +build() { + cd "$buiddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "$buiddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="dc3ee91468e570d038bc91c4458ddb49dc097639c671815eecc4308efea85e29c1121cfd959e62f970a2e8112f818296802be804e99b96ee89fd5de8136645d9 libgnomekbd-3.26.0.tar.xz" diff --git a/community/libgnomekbd/libgnomekbd.post-install b/community/libgnomekbd/libgnomekbd.post-install new file mode 100644 index 0000000000..34508a6a76 --- /dev/null +++ b/community/libgnomekbd/libgnomekbd.post-install @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in desktop_gnome_peripherals_keyboard_xkb.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/community/libgnomekbd/libgnomekbd.post-upgrade b/community/libgnomekbd/libgnomekbd.post-upgrade new file mode 100644 index 0000000000..34508a6a76 --- /dev/null +++ b/community/libgnomekbd/libgnomekbd.post-upgrade @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in desktop_gnome_peripherals_keyboard_xkb.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/community/libgnomekbd/libgnomekbd.pre-deinstall b/community/libgnomekbd/libgnomekbd.pre-deinstall new file mode 100644 index 0000000000..4cfd37ac2e --- /dev/null +++ b/community/libgnomekbd/libgnomekbd.pre-deinstall @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in desktop_gnome_peripherals_keyboard_xkb.schemas; do + echo "Uninstalling GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null +done |