diff options
author | Alan Lacerda <alacerda@alpinelinux.org> | 2015-03-24 14:22:38 +0000 |
---|---|---|
committer | Alan Lacerda <alacerda@alpinelinux.org> | 2015-03-24 16:19:35 +0000 |
commit | 6675e73c5855e5c1f9485b26547d2f35b136f41d (patch) | |
tree | 238db8bd4abdc951bb94b0f84acd546a637266e4 /main/libmatekbd | |
parent | 590da630689552c9bed593d8fbd477edcc77856a (diff) | |
download | aports-6675e73c5855e5c1f9485b26547d2f35b136f41d.tar.bz2 aports-6675e73c5855e5c1f9485b26547d2f35b136f41d.tar.xz |
main/libmatekbd: move from testing
Diffstat (limited to 'main/libmatekbd')
-rw-r--r-- | main/libmatekbd/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/main/libmatekbd/APKBUILD b/main/libmatekbd/APKBUILD new file mode 100644 index 0000000000..789152a465 --- /dev/null +++ b/main/libmatekbd/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=libmatekbd +pkgver=1.9.90 +pkgrel=0 +pkgdesc="MATE keyboard library" +url="https://github.com/mate-desktop/libmatekbd" +arch="all" +license="GPL2" +depends="mate-common freetype" +depends_dev="" +makedepends="$depends_dev libxklavier-dev libtool intltool gtk+-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz" + +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + 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 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 + find "$pkgdir" -name \*.la -delete +} + +md5sums="538e425d56233dacc8b9dba459baf9c0 libmatekbd-1.9.90.tar.xz" +sha256sums="5aa6c4c2e05e3dbbee438855ff80b3892c48dfbf4d503d4659bcac089aad9059 libmatekbd-1.9.90.tar.xz" +sha512sums="026c74cb037b97783e33cebe08e3766b361de60a36eeeff6c0b0c817dbf5c5dba33c8a7e198d16a94cc16d30983a6c6900614b8b782d3881552bbc8fb63e30b2 libmatekbd-1.9.90.tar.xz" |