net-im/purple-gowhatsapp: initial import
This commit is contained in:
parent
c5233d46b1
commit
47dfd9d03b
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user="hoehermann" ]
|
||||||
|
|
||||||
|
SUMMARY="Pidgin/libpurple plugin for WhatsApp Web"
|
||||||
|
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-lang/go
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-libs/glib:2
|
||||||
|
net-im/pidgin
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
edo sed -i -e \
|
||||||
|
"s/\$(GO) build/\$(GO) build -ldflags=\"-extar \/usr\/host\/bin\/$(exhost --target)-ar\"/" \
|
||||||
|
Makefile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export GOPATH="${WORK}"/.gopath
|
||||||
|
esandbox disable_net
|
||||||
|
default
|
||||||
|
esandbox enable_net
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user