diff options
Diffstat (limited to 'main/xsetmode/APKBUILD')
-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" |