--- /dev/null
+DIST bitlbee-facebook-1.1.2.tar.gz 67269 SHA256 dc4294d84b9f9d3e50cc1548000eafb518dfdb86bf8ecbf4261729e4e3472407 SHA512 3e27935cd4c8c1d55de9dfe9d6fd1e7aef1bf410e64c711436875ddfb83f67f1da0055af3b279d2d6627bafe438a7689e280c2bfd51ec4f64cf7c614182003da WHIRLPOOL b3213740a03a60287d4d9c38366c622e512c8ffb40296143ea0bff5fd0f576de3e247ac52cd0ba61024a0e4d86c0ae1b8f7d6d589b0e1d006c7b3fe48c80fc4c
--- /dev/null
+# Copyright 2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Facebook protocol plugin for BitlBee"
+HOMEPAGE="https://github.com/bitlbee/bitlbee-facebook"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/bitlbee/bitlbee-facebook"
+else
+ SRC_URI="https://github.com/bitlbee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/json-glib
+ >=net-im/bitlbee-3[plugins]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
--- /dev/null
+# Copyright 2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Facebook protocol plugin for BitlBee"
+HOMEPAGE="https://github.com/bitlbee/bitlbee-facebook"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/bitlbee/bitlbee-facebook"
+else
+ SRC_URI="https://github.com/bitlbee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/json-glib
+ >=net-im/bitlbee-3[plugins]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arkamar@atlas.cz</email>
+ <name>Petr Vaněk</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ The Facebook protocol plugin for bitlbee. This plugin uses the Facebook
+ Mobile API.
+ </longdescription>
+ <upstream>
+ <maintainer status="active">
+ <email>jgeboski@gmail.com</email>
+ <name>James Geboski</name>
+ </maintainer>
+ <bugs-to>https://github.com/bitlbee/bitlbee-facebook/issues</bugs-to>
+ <remote-id type="github">bitlbee/bitlbee-facebook</remote-id>
+ </upstream>
+</pkgmetadata>