Date: Thursday, May 4, 2023 @ 01:43:18
  Author: svenstaro
Revision: 1458702

upgpkg: pystring 1.1.4-1

Modified:
  pystring/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-04 01:35:13 UTC (rev 1458701)
+++ PKGBUILD    2023-05-04 01:43:18 UTC (rev 1458702)
@@ -1,10 +1,9 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Maintainer: Sven-Hendrik Haase <[email protected]>
 # Contributor: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 
-d>
 # Contributor: Alexey Pavlov <[email protected]>
 
 pkgname=pystring
-pkgver=1.1.3.git1
-_commit=281419de2f91f9e0f2df6acddfea3b06a43436be
+pkgver=1.1.4
 pkgrel=1
 arch=('x86_64')
 pkgdesc="C++ functions matching the interface and behavior of python string 
methods with std::string"
@@ -11,24 +10,24 @@
 url="https://github.com/imageworks/pystring";
 license=('BSD')
 depends=('gcc-libs')
-source=("https://github.com/imageworks/pystring/archive/$_commit.tar.gz";
-        "makefile.patch")
-sha512sums=('e7ee1bf8a37c7f453a2dd324524a0fede9ab4448dea4ad7b2774ce44c14605dc106fea9a629344db5d5da86be9ef923e8ddf904bf8b5fffabc36b4140f1cb433'
-            
'dc5f94cc062023d138ab9cab92081323c576b9e03d853b615981f2bc89dd5de96bd9a19c420bbd23eac5248b7949b337fe858622aae0751fbc0b16f59db77fdd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/imageworks/pystring/archive/v$pkgver.tar.gz";
+        
"$pkgname-fix-makefile.patch::https://github.com/imageworks/pystring/pull/42.patch";)
+sha512sums=('9c0460fea67885492f9b0d29a9ba312d960fd5e43577cdcfd47faf04397ff4b7e456ed68f1948b923d2f63f9922d576b93e4ca1a27376bcb6d29c683828acb01'
+            
'2e8dea3c0e3a90fbb1ae4891e2aa59f10996825b10daf90476fec8c205e36f575ef9bec897ef5126fab957ca081f7b9cf1cd04e4ebdb3636496fb38b978f560c')
 
 prepare() {
-  cd $pkgname-$_commit
-  patch -p1 -i "$srcdir/makefile.patch"
+  cd $pkgname-$pkgver
+  patch -p1 -i "$srcdir/$pkgname-fix-makefile.patch"
 }
 
 build() {
-  cd $pkgname-$_commit
+  cd $pkgname-$pkgver
   make
 }
 
 package() {
-  cd $pkgname-$_commit
-  make DESTDIR="$pkgdir" install
+  cd $pkgname-$pkgver
+  DESTDIR="$pkgdir" make install
 
-  install -Dm644 "$srcdir/$pkgname-$_commit/LICENSE" 
"$pkgdir/usr/share/licenses/$pkgname"/LICENSE
+  install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" 
"$pkgdir/usr/share/licenses/$pkgname"/LICENSE
 }

Reply via email to