diff options
Diffstat (limited to 'main/xmodmap/APKBUILD')
-rw-r--r-- | main/xmodmap/APKBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/main/xmodmap/APKBUILD b/main/xmodmap/APKBUILD new file mode 100644 index 0000000000..87d0d4ba87 --- /dev/null +++ b/main/xmodmap/APKBUILD @@ -0,0 +1,23 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xmodmap +pkgver=1.0.4 +pkgrel=0 +pkgdesc="utility for modifying keymaps and pointer button mappings in X" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-doc" +depends= +makedepends="pkgconfig libx11-dev" +source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2" + +build () { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="bbe021f812e0014a8ee3692317788119 xmodmap-1.0.4.tar.bz2" |