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

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


    Date: Sunday, November 4, 2018 @ 16:39:58
  Author: ffy00
Revision: 401479

archrelease: copy trunk to community-x86_64

Added:
  gir-to-d/repos/community-x86_64/PKGBUILD
    (from rev 401478, gir-to-d/trunk/PKGBUILD)
Deleted:
  gir-to-d/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++----------------------------
 1 file changed, 30 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 16:39:53 UTC (rev 401478)
+++ PKGBUILD	2018-11-04 16:39:58 UTC (rev 401479)
@@ -1,28 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=gir-to-d
-pkgver=0.16.1
-pkgrel=2
-pkgdesc="Create D bindings from GObject introspection files"
-arch=(x86_64)
-url="https://github.com/gtkd-developers/gir-to-d"
-license=(LGPL3)
-depends=(gcc-libs)
-makedepends=(meson dmd libphobos)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/gtkd-developers/gir-to-d/archive/v$pkgver.tar.gz")
-sha256sums=('da15697873b38a51847a00cc07b6d2ad0c7d181bde5cd81201c6356063354533')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  meson ../$pkgname-$pkgver --prefix=/usr
-  ninja
-}
-
-package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-}

Copied: gir-to-d/repos/community-x86_64/PKGBUILD (from rev 401478, gir-to-d/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-04 16:39:58 UTC (rev 401479)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=gir-to-d
+pkgver=0.16.1
+pkgrel=3
+pkgdesc='Create D bindings from GObject introspection files'
+arch=('x86_64')
+url='https://github.com/gtkd-developers/gir-to-d'
+license=('LGPL3')
+depends=('gcc-libs' 'liblphobos')
+makedepends=('meson' 'ldc')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('dc2159042799d161fa7097a1cccd5038196e548512ff1fde9e1ca9393781d74ef9bb07c00e8cb812c43d98ce43778e1a3444d9085743ed8adaa818c9c48ccf93')
+
+build() {
+  mkdir -p $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