[arch-commits] Commit in python-send2trash/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:44:28 UTC 2020
Date: Monday, November 9, 2020 @ 15:44:28
Author: felixonmars
Revision: 747115
archrelease: copy trunk to community-staging-any
Added:
python-send2trash/repos/community-staging-any/
python-send2trash/repos/community-staging-any/PKGBUILD
(from rev 747113, python-send2trash/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-send2trash/repos/community-staging-any/PKGBUILD (from rev 747113, python-send2trash/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:44:28 UTC (rev 747115)
@@ -0,0 +1,26 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgbase=send2trash
+pkgname=python-send2trash
+pkgver=1.5.0
+pkgrel=5
+pkgdesc="Send file to trash natively"
+arch=('any')
+url="https://github.com/hsoft/send2trash"
+license=('BSD')
+depends=('python')
+makedepends=('python' 'python-setuptools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/hsoft/$_pkgbase/archive/$pkgver.tar.gz")
+sha256sums=('7cebc0ffc8b6d6e553bce9c6bb915614610ba2dec17c2f0643b1b97251da2a41')
+
+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"
+}
More information about the arch-commits
mailing list