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

Filipe Laíns ffy00 at archlinux.org
Sun Nov 4 16:27:13 UTC 2018


    Date: Sunday, November 4, 2018 @ 16:27:13
  Author: ffy00
Revision: 401477

force build with LDC

it was previously building with the avaliable D compiler,
if DMD was avaliable it was used to build the package

Modified:
  mustache-d/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 16:13:18 UTC (rev 401476)
+++ PKGBUILD	2018-11-04 16:27:13 UTC (rev 401477)
@@ -3,14 +3,13 @@
 pkgname=mustache-d
 pkgver=0.1.3
 pkgrel=9
-pkgdesc="Moustache template engine for D"
-arch=(x86_64)
-url="https://github.com/repeatedly/mustache-d"
-license=(Boost)
-depends=()
-makedepends=(meson ldc liblphobos)
-source=($pkgname-$pkgver::"https://github.com/repeatedly/mustache-d/archive/v$pkgver.tar.gz")
-sha256sums=('b8cf5fe193b11dece663ad2d7f8acbcc02ef48334f0fdc922a2dde3f8ac64b57')
+pkgdesc='Moustache template engine for D'
+arch=('x86_64')
+url='https://github.com/repeatedly/mustache-d'
+license=('Boost')
+makedepends=('meson' 'ldc' 'liblphobos')
+source=("$pkgname-$pkgver::https://github.com/repeatedly/mustache-d/archive/v$pkgver.tar.gz")
+sha512sums=('ae70cc0ad0e94729ae2a2a8a8598a7489e457406fb61534641b25d7413749d3ba977591453fab438ce752a4b51d0f91777b5c470f53d7e3884a9f70aad736ded')
 
 prepare() {
   mkdir -p build
@@ -18,11 +17,17 @@
 
 build() {
   cd build
-  meson ../$pkgname-$pkgver --prefix=/usr
+
+  # Build with LDC
+  export DC=ldc
+
+  arch-meson ../$pkgname-$pkgver
+
   ninja
 }
 
 package() {
   cd build
+
   DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list