diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-18 09:03:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-18 09:03:22 +0000 |
commit | 078c746dc3e7d0d2580bec39746bd459913abee0 (patch) | |
tree | c8567ea0e9a36f236a204ca63e4f829f71da5a12 /main | |
parent | 90f575ba8691254853587d93bc39b94a217cbc44 (diff) | |
download | aports-078c746dc3e7d0d2580bec39746bd459913abee0.tar.bz2 aports-078c746dc3e7d0d2580bec39746bd459913abee0.tar.xz |
main/xsetmode: update config.sub
Diffstat (limited to 'main')
-rw-r--r-- | main/xsetmode/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/xsetmode/APKBUILD b/main/xsetmode/APKBUILD index a51dbfe082..a0f460c2d1 100644 --- a/main/xsetmode/APKBUILD +++ b/main/xsetmode/APKBUILD @@ -1,18 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xsetmode pkgver=1.0.0 -pkgrel=3 +pkgrel=4 pkgdesc="set the mode for an X Input device" url="http://xorg.freedesktop.org/" arch="all" license="custom" subpackages="$pkgname-doc" depends= -makedepends="pkgconfig libxi-dev libx11-dev" +makedepends="libxi-dev libx11-dev" source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + 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 } md5sums="d074e79d380b031d2f60e4cd56538c93 xsetmode-1.0.0.tar.bz2" |