aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/xbindkeys/APKBUILD (renamed from unmaintained/xbindkeys/APKBUILD)21
1 files changed, 7 insertions, 14 deletions
diff --git a/unmaintained/xbindkeys/APKBUILD b/testing/xbindkeys/APKBUILD
index 3b32698c3d..4f45ef1839 100644
--- a/unmaintained/xbindkeys/APKBUILD
+++ b/testing/xbindkeys/APKBUILD
@@ -1,5 +1,6 @@
# Contributor: Andrew Hills <ahills@ednos.net>
-# Maintainer: Andrew Hills <ahills@ednos.net>
+# Contributor: Stefan Wagner <stw@bit-strickerei.de>
+# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=xbindkeys
pkgver=1.8.6
pkgrel=0
@@ -7,30 +8,22 @@ pkgdesc="Program for launching shell commands via keyboard shortcuts in X"
url="http://www.nongnu.org/xbindkeys/xbindkeys.html"
arch="all"
license="GPL2"
-depends=""
-depends_dev="libx11-dev"
-makedepends="$depends_dev"
-install=
+makedepends="libx11-dev"
subpackages="$pkgname-doc"
source="http://www.nongnu.org/$pkgname/$pkgname-$pkgver.tar.gz"
-
-
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
--disable-guile \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --build=$CBUILD \
- --host=$CHOST \
- || return 1
+ --infodir=/usr/share/info || return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}