Skip to content

@Mic92 /PKGBUILD
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Refactored PKGBUILD for linconnect-server-git
[connection]
port = 9090
enable_bonjour = 1
[other]
enable_instruction_webpage = 1
# 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
}
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.