blob: 2f84a9e0e3448a73f262181446bdec9314257aee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Jashandeep Sohi <jashandeep.s.sohi@gmail.com>
pkgname=x2x-git
pkgver=git
pkgrel=1
pkgdesc='Allows the keyboard, mouse on one X display to be used to control another X display.'
arch=('i686' 'x86_64')
url='https://github.com/dottedmag/x2x'
license=('MIT')
depends=('xorg-server' 'libxtst')
makedepends=('git' 'libxtst')
provides=('x2x')
conflicts=('x2x')
source=($pkgname'::git+https://github.com/dottedmag/x2x.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags --always | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
./bootstrap.sh
./configure --prefix="$pkgdir/usr"
make
}
package() {
cd "$srcdir/$pkgname"
make install
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: filetype=sh tabstop=1 expandtab
|