aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxkbui/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-14 08:09:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-14 09:05:37 +0000
commit6701c44f6f1ef22ac46f9242bce36edd93748a1c (patch)
tree0fb820c69754b5ac56ca8e1884427f0daf84b7b1 /main/libxkbui/APKBUILD
parent1ca8023807f85ebfdb1ec3cc1dfa4dbfe6071779 (diff)
downloadaports-6701c44f6f1ef22ac46f9242bce36edd93748a1c.tar.gz
aports-6701c44f6f1ef22ac46f9242bce36edd93748a1c.tar.bz2
aports-6701c44f6f1ef22ac46f9242bce36edd93748a1c.tar.xz
main/libxkbui: update config.sub
Diffstat (limited to 'main/libxkbui/APKBUILD')
-rw-r--r--main/libxkbui/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/main/libxkbui/APKBUILD b/main/libxkbui/APKBUILD
index a2d77a03eb..021f799c17 100644
--- a/main/libxkbui/APKBUILD
+++ b/main/libxkbui/APKBUILD
@@ -1,19 +1,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxkbui
pkgver=1.0.2
-pkgrel=6
+pkgrel=7
pkgdesc="X11 keyboard UI presentation library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev"
depends=
-makedepends="pkgconfig libxt-dev libx11-dev libsm-dev libice-dev libxkbfile-dev"
+depends_dev="libx11-dev xproto libxt-dev"
+makedepends="$depends_dev libsm-dev libice-dev libxkbfile-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
-depends_dev="libx11-dev xproto libxt-dev"
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub
+}
+
build () {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -23,7 +29,7 @@ build () {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}