blob: 0c0fea918d3ba770eb3b757f5f059230dd2e91f4 (
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
|
# Maintainer: yhaupenthal <y dot h plus aur at posteo dot de>
pkgname=multipass
pkgver='18.06'
pkgrel=1
pkgdesc='Broadcast X11 key events to multiple windows'
arch=('any')
url='https://www.uninformativ.de/git/multipass'
license=('MIT')
depends=('libx11' 'libxft')
makedepends=('git')
source=('git+https://www.uninformativ.de/git/multipass.git')
md5sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname"
# custom config
echo "$SRCDEST"
if [ -e "$SRCDEST"/config.h ] ; then
echo 'Using custom config.h'
cp "$SRCDEST"/config.h .
else
cp config.def.h config.h
fi
}
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
install -Dm 755 "$srcdir/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|