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

Dan Printzell wild at archlinux.org
Sun Mar 8 15:53:47 UTC 2020


    Date: Sunday, March 8, 2020 @ 15:53:46
  Author: wild
Revision: 592203

archrelease: copy trunk to community-x86_64

Added:
  d-mir-core/repos/community-x86_64/PKGBUILD
    (from rev 592202, d-mir-core/trunk/PKGBUILD)
Deleted:
  d-mir-core/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 15:53:40 UTC (rev 592202)
+++ PKGBUILD	2020-03-08 15:53:46 UTC (rev 592203)
@@ -1,48 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=mir-core
-pkgname=d-$_pkgname
-pkgver=1.0.2
-pkgrel=2
-pkgdesc='Base software building blocks and conventions for libmir'
-arch=('x86_64')
-url='https://github.com/libmir/mir-core'
-license=('custom:BSL')
-depends=('liblphobos')
-makedepends=('meson' 'ldc')
-source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
-        "meson-fixes.patch::https://patch-diff.githubusercontent.com/raw/libmir/mir-core/pull/14.patch")
-sha512sums=('fb5d03cbec11927faa4a04e3a6ee70c986813aa259d76cbac8647a3044bb370d3192c7b44e823425e9047b27a556fda8858834be6c0fb3152aac7f72b181205f'
-            'f2f3067fb7e4edda492c4d2aed4e10ecd0d028cb332e314684d9d8cd301f37488d081806b4e7119d094fb03b00e29207b3798c27c9b03786fd012673f63928b5')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  sed "s/dc.get_id() == 'llvm'/false/" "$srcdir"/meson-fixes.patch | patch -p1
-}
-
-build() {
-  mkdir $_pkgname-$pkgver/build
-  cd $_pkgname-$pkgver/build
-
-  export DC=ldc
-
-  arch-meson ..
-
-  ninja
-}
-
-check() {
-  cd $_pkgname-$pkgver/build
-
-  meson test
-}
-
-package() {
-  cd $_pkgname-$pkgver/build
-
-  DESTDIR="$pkgdir" ninja install
-
-  install -Dm 644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: d-mir-core/repos/community-x86_64/PKGBUILD (from rev 592202, d-mir-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-08 15:53:46 UTC (rev 592203)
@@ -0,0 +1,49 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=mir-core
+pkgname=d-$_pkgname
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Base software building blocks and conventions for libmir'
+arch=('x86_64')
+url='https://github.com/libmir/mir-core'
+license=('custom:BSL')
+depends=('liblphobos')
+makedepends=('meson' 'ldc')
+source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('86695f0c5be38027d12bfc619e51bc091b7e2357f871a428ad4ad9060f80d8e4e44613303103e3753ab6178330ac9ea126dd86ffb19e3b6f3ea97cba8f12eb3a')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  # Fix version in buildfile
+  sed -i "s/1.0.2/$pkgver/" meson.build
+  # Fix soname
+  sed -i "s/dc.get_id() == 'llvm'/false/" meson.build
+}
+
+build() {
+  mkdir $_pkgname-$pkgver/build
+  cd $_pkgname-$pkgver/build
+
+  export DC=ldc
+
+  arch-meson ..
+
+  ninja
+}
+
+check() {
+  cd $_pkgname-$pkgver/build
+
+  meson test
+}
+
+package() {
+  cd $_pkgname-$pkgver/build
+
+  DESTDIR="$pkgdir" ninja install
+
+  install -Dm 644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list