From 1f90edac5012f7cf4bc67c8c8f73ea977ecfe284 Mon Sep 17 00:00:00 2001 From: Thiago Perrotta Date: Sat, 25 Dec 2021 18:24:08 -0500 Subject: testing/autotrash: new aport https://bneijt.nl/pr/autotrash/ Tool to automatically purge old trashed files Signed-off-by: Thiago Perrotta --- testing/autotrash/APKBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 testing/autotrash/APKBUILD diff --git a/testing/autotrash/APKBUILD b/testing/autotrash/APKBUILD new file mode 100644 index 0000000000..4cf1bb33a8 --- /dev/null +++ b/testing/autotrash/APKBUILD @@ -0,0 +1,23 @@ +# Contributor: Thiago Perrotta +# Maintainer: Thiago Perrotta +pkgname=autotrash +pkgver=0.4.4 +pkgrel=0 +pkgdesc="Tool to automatically purge old trashed files" +url="https://bneijt.nl/pr/autotrash/" +arch="noarch" +license="GPLv3" +depends="python3 py3-setuptools" +options="!check" # no tests +source="https://files.pythonhosted.org/packages/source/a/autotrash/autotrash-$pkgver.tar.gz" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build +} +sha512sums=" +b39be5a5cf137dde74d104565a536ceb8208d0c900f0b900c94ae7320b5e65b788e90ffbaaa14f90810931997def2aabfe858a8a00e3b7d9252d6738c6036dc3 autotrash-0.4.4.tar.gz +" -- cgit v1.2.3