[arch-commits] Commit in d-stdx-allocator/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Mon Sep 2 05:54:41 UTC 2019


    Date: Monday, September 2, 2019 @ 05:54:40
  Author: ffy00
Revision: 506558

upgpkg: d-stdx-allocator 3.0.2-5

Modified:
  d-stdx-allocator/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-02 05:54:24 UTC (rev 506557)
+++ PKGBUILD	2019-09-02 05:54:40 UTC (rev 506558)
@@ -3,7 +3,7 @@
 pkgname=d-stdx-allocator
 _pkgname=stdx-allocator
 pkgver=3.0.2
-pkgrel=4
+pkgrel=5
 pkgdesc='Extracted std.experimental.allocator'
 arch=('x86_64')
 url='https://github.com/dlang-community/stdx-allocator'
@@ -16,14 +16,14 @@
             '13d52d3bb4d90e7b5fb3163f1761c20a57a59be1306ac665fea0eb9331864821d77e790f8ca6027b1936a6930085d2ccca7a1d49d4bd139a939e2c58f03bd47a')
 
 prepare() {
-  cd "$srcdir"/$_pkgname-$pkgver
+  cd $_pkgname-$pkgver
 
-  patch -p1 < "$srcdir"/add-dependency.patch
+  patch -p1 < ../add-dependency.patch
 }
 
 build() {
-  mkdir "$srcdir"/$_pkgname-$pkgver/build
-  cd "$srcdir"/$_pkgname-$pkgver/build
+  mkdir $_pkgname-$pkgver/build
+  cd $_pkgname-$pkgver/build
 
   export DC=ldc
 
@@ -33,13 +33,13 @@
 }
 
 check() {
-  cd "$srcdir"/$_pkgname-$pkgver/build
+  cd $_pkgname-$pkgver/build
 
   meson test
 }
 
 package() {
-  cd "$srcdir"/$_pkgname-$pkgver/build
+  cd $_pkgname-$pkgver/build
 
   DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list