blob: 0406aabd2f7894048c5f261fe49d9dc1515d9597 (
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
38
39
40
41
42
43
44
45
46
|
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=libmatekbd
pkgver=1.12.0
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+2.0-dev"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$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 \
--sysconfdir=/etc \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install || return 1
}
md5sums="dcb4535445146489b896f09aa58615b3 libmatekbd-1.12.0.tar.xz"
sha256sums="a37538a9cb73dd1db8a8eacf7f7e1141884a95c218f69c017c1282a333de8d00 libmatekbd-1.12.0.tar.xz"
sha512sums="a75470ba4ff79db01ebed910c886cc2417bb5212330118614731edc8879d546d6f900e5b7ef2b173e2fc680e4e26d902a5b89be254c6ff356f763692a61d47d7 libmatekbd-1.12.0.tar.xz"
|