diff --git a/srcpkgs/python-protobuf/template b/srcpkgs/python-protobuf/template new file mode 100644 index 0000000000..b2c24ca203 --- /dev/null +++ b/srcpkgs/python-protobuf/template @@ -0,0 +1,26 @@ +# Template file for 'python-protobuf' +pkgname=python-protobuf +version=3.1.0.post1 +revision=1 +noarch=yes +wrksrc="protobuf-${version}" +build_style=python2-module +pycompile_module="protobuf" +hostmakedepends="python-setuptools" +depends="python" +short_desc="Python bindings for Google Protocol Buffers" +maintainer="Charles E. Lehner " +homepage="https://developers.google.com/protocol-buffers/" +license="BSD" +distfiles=" +${PYPI_SITE}/p/protobuf/protobuf-${version}.tar.gz +https://raw.githubusercontent.com/google/protobuf/master/LICENSE" +checksum=" +1a2e989ff8820ef2eaf56b07cd40ad764ec505a0f0b52b69f7fa9e0d5afbddb7 +af67c58de2e18677a0b8cb5fffbe2232aabb8eb2930e8cd684769cef3d74a262" +skip_extraction=LICENSE + +post_install() { + vlicense $XBPS_SRCDISTDIR/$pkgname-$version/LICENSE + chmod -R o+r $DESTDIR/usr/lib +}