Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Refactored PKGBUILD for linconnect-server-git

View PKGBUILD
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
# Maintainer: Evan Anderson <evan@thelinuxman.us>
pkgname=linconnect-server-git
pkgver=r64.4ba6a58
pkgrel=1
pkgdesc="Server for the linconnect android application the mirrors android notifications to desktop using libnotify"
url="https://github.com/hauckwill/linconnect-server"
license=('GPL3')
arch=('any')
groups=(network)
depends=('python2' 'python2-cherrypy' 'python2-gobject' 'pybonjour' 'libnotify')
makedepends=('git')
source=("master"::'git://github.com/hauckwill/linconnect-server.git'
"conf.ini")
md5sums=('SKIP'
'a632bf12e88e7778d7bd1a52c6e4a77b')
 
pkgver() {
cd "$srcdir/master"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
 
package() {
mkdir -p $pkgdir/usr/{bin,share/}
cp -r $srcdir/master/LinConnectServer/main/ $pkgdir/usr/share/linconnect-server
install -m0644 $srcdir/conf.ini $pkgdir/usr/share/linconnect-server
cat >$pkgdir/usr/bin/linconnect-server <<EOF
#!/bin/sh
exec python2 /usr/share/linconnect-server/linconnect_server.py
EOF
chmod +x $pkgdir/usr/bin/linconnect-server
}
View PKGBUILD
1 2 3 4 5 6
[connection]
port = 9090
enable_bonjour = 1
 
[other]
enable_instruction_webpage = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.