From 58b683ea01c629c911b11f4f8098fd9feb39292a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Tue, 11 Feb 2020 22:42:34 +0100 Subject: [PATCH] python-pyperclip: leave builddir clean --- srcpkgs/python-pyperclip/template | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python-pyperclip/template b/srcpkgs/python-pyperclip/template index b173f1479a5..b2eae76e5f1 100644 --- a/srcpkgs/python-pyperclip/template +++ b/srcpkgs/python-pyperclip/template @@ -1,11 +1,11 @@ # Template file for 'python-pyperclip' pkgname=python-pyperclip version=1.7.0 -revision=2 +revision=3 archs=noarch -wrksrc=pyperclip-${version} +create_wrksrc=yes +build_wrksrc=pyperclip-${version} build_style=python-module -pycompile_module="pyperclip" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Cross-platform clipboard module (Python2)" @@ -17,14 +17,13 @@ distfiles="${PYPI_SITE}/p/pyperclip/pyperclip-${version}.tar.gz checksum="979325468ccf682104d5dcaf753f869868100631301d3e72f47babdea5700d1c a72b0acc9389e4c17ced890ef1b03455e04978d39e25636099b93efb76b74ead" - post_install() { +post_install() { vlicense ../LICENSE.txt - } +} python3-pyperclip_package() { archs=noarch depends="python3" - pycompile_module="pyperclip" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove "usr/lib/python3*"