[arch-commits] Commit in trash-cli/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Thu May 31 15:17:30 UTC 2018
Date: Thursday, May 31, 2018 @ 15:17:30
Author: eschwartz
Revision: 334859
upgpkg: trash-cli 0.17.1.14-3
rebuild for Pierre's retirement: https://www.archlinux.org/todo/pierre-neidhardt-packages-rebuild/
Fix FS#54697 - Breaks Trash Over Mount Points
Modified:
trash-cli/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 37 +++++++++++++++++++++++--------------
1 file changed, 23 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-31 15:17:28 UTC (rev 334858)
+++ PKGBUILD 2018-05-31 15:17:30 UTC (rev 334859)
@@ -1,25 +1,34 @@
-# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
-# Contributor: Eli Schwartz <eschwartz93 at gmail.com>
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Pierre Neidhardt <ambrevar at gmail.com>
# Contributor: Renato Garcia <fgarcia.renato at gmail.com>
pkgname=trash-cli
pkgver=0.17.1.14
-pkgrel=2
+pkgrel=3
pkgdesc="Command line trashcan (recycle bin) interface"
-arch=("any")
-url="https://github.com/andreafrancia/$pkgname"
-license=("GPL")
-depends=("python")
-makedepends=("python-setuptools")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/andreafrancia/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('8fdd20e5e9c55ea4e24677e602a06a94a93f1155f9970c55b25dede5e037b974')
+arch=('any')
+url="https://github.com/andreafrancia/${pkgname}"
+license=('GPL')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+ "0001-Use-py-bytes-to-interact-with-ctypes.patch::${url}/pull/115.patch")
+sha256sums=('8fdd20e5e9c55ea4e24677e602a06a94a93f1155f9970c55b25dede5e037b974'
+ '71c674d0c36fad172fd39c75052ac0de1a3f4739e13cffb8ed78148f11eda0a3')
+prepare() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ # https://github.com/andreafrancia/trash-cli/issues/95
+ patch -p1 -i ../0001-Use-py-bytes-to-interact-with-ctypes.patch
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
- python setup.py build
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ python setup.py build
}
package(){
- cd "$srcdir/$pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
Property changes on: trash-cli/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list