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

Dan Printzell wild at archlinux.org
Wed Dec 19 23:48:16 UTC 2018


    Date: Wednesday, December 19, 2018 @ 23:48:15
  Author: wild
Revision: 416811

archrelease: copy trunk to community-x86_64

Added:
  mustache-d/repos/community-x86_64/PKGBUILD
    (from rev 416810, mustache-d/trunk/PKGBUILD)
Deleted:
  mustache-d/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 33 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-19 23:48:03 UTC (rev 416810)
+++ PKGBUILD	2018-12-19 23:48:15 UTC (rev 416811)
@@ -1,28 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-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')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  meson ../$pkgname-$pkgver --prefix=/usr
-  ninja
-}
-
-package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-}

Copied: mustache-d/repos/community-x86_64/PKGBUILD (from rev 416810, mustache-d/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-19 23:48:15 UTC (rev 416811)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=mustache-d
+pkgver=0.1.3
+pkgrel=10
+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
+}
+
+build() {
+  cd build
+
+  # 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