diff options
author | Alan Lacerda <alacerda@alpinelinux.org> | 2014-12-15 14:47:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-19 18:33:13 +0000 |
commit | a18fc9e220d0c83a74d288e7acb00e4a7bcb62b0 (patch) | |
tree | 2b9139a9309c0eb148bc1e1f7acfd40cb9458c8a /testing | |
parent | 3162bac3a89080da4abc83042d02e619cd8e284f (diff) | |
download | aports-a18fc9e220d0c83a74d288e7acb00e4a7bcb62b0.tar.bz2 aports-a18fc9e220d0c83a74d288e7acb00e4a7bcb62b0.tar.xz |
testing/libmatekbd: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/libmatekbd/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/libmatekbd/APKBUILD b/testing/libmatekbd/APKBUILD new file mode 100644 index 0000000000..206eb87874 --- /dev/null +++ b/testing/libmatekbd/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: +pkgname=libmatekbd +pkgver=1.9.1 +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="49c69bffec1ebeb96d67b66e7aad22a6 libmatekbd-1.9.1.tar.xz" +sha256sums="f6a4e70673c4701c70c7a9820649f9587cdb7633cf8e9152fc881d5ffe973497 libmatekbd-1.9.1.tar.xz" +sha512sums="4d2bbd0f809bc1224c537a2f8ea7f78e193498266b7122fca49332e7fb59a0acbb13e1ae255c108279abe5df4336b084a4136fd58410a69c42b7b4a87b1862e6 libmatekbd-1.9.1.tar.xz" |