Date: Thursday, April 6, 2023 @ 13:01:09
  Author: felixonmars
Revision: 1438748

archrelease: copy trunk to community-staging-any

Added:
  python-send2trash/repos/community-staging-any/
  python-send2trash/repos/community-staging-any/PKGBUILD
    (from rev 1438747, python-send2trash/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: python-send2trash/repos/community-staging-any/PKGBUILD (from rev 
1438747, python-send2trash/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:01:09 UTC (rev 1438748)
@@ -0,0 +1,26 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgbase=send2trash
+pkgname=python-send2trash
+pkgver=1.8.0
+pkgrel=4
+pkgdesc="Send file to trash natively"
+arch=('any')
+url="https://github.com/hsoft/send2trash";
+license=('BSD')
+depends=('python')
+makedepends=('python' 'python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hsoft/$_pkgbase/archive/$pkgver.tar.gz";)
+sha256sums=('937b038abd9f1e7b8c5d7a116be5dc4663beb71df74dcccffe56cacf992c7a9c')
+
+build() {
+       cd $_pkgbase-$pkgver
+       python setup.py build
+}
+
+package() {
+       cd $_pkgbase-$pkgver
+       python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+       install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to