[arch-commits] Commit in trash-cli/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Thu May 31 15:17:46 UTC 2018
Date: Thursday, May 31, 2018 @ 15:17:45
Author: eschwartz
Revision: 334862
archrelease: copy trunk to community-any
Added:
trash-cli/repos/community-any/PKGBUILD
(from rev 334861, trash-cli/trunk/PKGBUILD)
Deleted:
trash-cli/repos/community-any/PKGBUILD
----------+
PKGBUILD | 59 ++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 34 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-31 15:17:40 UTC (rev 334861)
+++ PKGBUILD 2018-05-31 15:17:45 UTC (rev 334862)
@@ -1,25 +0,0 @@
-# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
-# Contributor: Eli Schwartz <eschwartz93 at gmail.com>
-# Contributor: Renato Garcia <fgarcia.renato at gmail.com>
-
-pkgname=trash-cli
-pkgver=0.17.1.14
-pkgrel=2
-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')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- python setup.py build
-}
-
-package(){
- cd "$srcdir/$pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: trash-cli/repos/community-any/PKGBUILD (from rev 334861, trash-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-31 15:17:45 UTC (rev 334862)
@@ -0,0 +1,34 @@
+# $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=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::${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
+}
+
+package(){
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list