[arch-commits] Commit in d-mir-core/trunk (PKGBUILD)
Dan Printzell
wild at archlinux.org
Sun Mar 8 15:53:40 UTC 2020
Date: Sunday, March 8, 2020 @ 15:53:40
Author: wild
Revision: 592202
upgpkg: d-mir-core 1.1.0-1: Updated to 1.1.0
Modified:
d-mir-core/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-08 15:53:07 UTC (rev 592201)
+++ PKGBUILD 2020-03-08 15:53:40 UTC (rev 592202)
@@ -2,8 +2,8 @@
_pkgname=mir-core
pkgname=d-$_pkgname
-pkgver=1.0.2
-pkgrel=2
+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'
@@ -10,15 +10,16 @@
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')
+source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('86695f0c5be38027d12bfc619e51bc091b7e2357f871a428ad4ad9060f80d8e4e44613303103e3753ab6178330ac9ea126dd86ffb19e3b6f3ea97cba8f12eb3a')
prepare() {
cd $_pkgname-$pkgver
- sed "s/dc.get_id() == 'llvm'/false/" "$srcdir"/meson-fixes.patch | patch -p1
+ # 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() {
More information about the arch-commits
mailing list