[arch-commits] Commit in d-stdx-allocator/repos/community-x86_64 (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Mon Sep 24 16:20:34 UTC 2018


    Date: Monday, September 24, 2018 @ 16:20:34
  Author: ffy00
Revision: 384635

archrelease: copy trunk to community-x86_64

Added:
  d-stdx-allocator/repos/community-x86_64/PKGBUILD
    (from rev 384634, d-stdx-allocator/trunk/PKGBUILD)
Deleted:
  d-stdx-allocator/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   60 ++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 32 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-24 16:20:29 UTC (rev 384634)
+++ PKGBUILD	2018-09-24 16:20:34 UTC (rev 384635)
@@ -1,28 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=d-stdx-allocator
-pkgver=2.77.3
-pkgrel=1
-pkgdesc="Extracted std.experimental.allocator for usage via DUB"
-arch=(x86_64)
-url="https://github.com/dlang-community"
-license=(Boost)
-depends=(libphobos)
-makedepends=(dmd meson)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/dlang-community/stdx-allocator/archive/v$pkgver.tar.gz")
-sha256sums=('cf558f19bffe555c4f022ab2090b9ad46086eb1dfe7be02cd9fa7451d1b857a6')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  meson ../stdx-allocator-$pkgver --prefix=/usr
-  ninja
-}
-
-package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-}

Copied: d-stdx-allocator/repos/community-x86_64/PKGBUILD (from rev 384634, d-stdx-allocator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-24 16:20:34 UTC (rev 384635)
@@ -0,0 +1,32 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=d-stdx-allocator
+_pkgname=stdx-allocator
+pkgver=2.77.3
+pkgrel=2
+pkgdesc='Extracted std.experimental.allocator'
+arch=('x86_64')
+url='https://github.com/dlang-community/stdx-allocator'
+license=('Boost')
+depends=('liblphobos')
+makedepends=('meson' 'ldc' 'python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('cf558f19bffe555c4f022ab2090b9ad46086eb1dfe7be02cd9fa7451d1b857a6')
+
+build() {
+  mkdir $_pkgname-$pkgver/build
+  cd $_pkgname-$pkgver/build
+
+  export DC=ldc
+
+  arch-meson
+
+  ninja
+}
+
+package() {
+  cd $_pkgname-$pkgver/build
+
+  DESTDIR="$pkgdir" ninja install
+}
+



More information about the arch-commits mailing list