summaryrefslogtreecommitdiff
path: root/python3-xlib/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'python3-xlib/Pkgfile')
-rw-r--r--python3-xlib/Pkgfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/python3-xlib/Pkgfile b/python3-xlib/Pkgfile
index e78c44aa0..60b01a04c 100644
--- a/python3-xlib/Pkgfile
+++ b/python3-xlib/Pkgfile
@@ -12,4 +12,10 @@ build() {
cd python-xlib-$version
python3 setup.py build
python3 setup.py install --root=$PKG --optimize=1 --skip-build
+ find $PKG \(\
+ -iname '*pkg-info*' -o \
+ -iname '*sources*' -o \
+ -iname '*dependency_links*' -o \
+ -iname '*top_level*' -o \
+ -iname '*requires*' \) -exec rm -fr '{}' \+
}

Generated by cgit