[arch-commits] Commit in vibe-d/repos/community-x86_64 (PKGBUILD PKGBUILD)
Dan Printzell
wild at archlinux.org
Thu Nov 7 19:29:01 UTC 2019
Date: Thursday, November 7, 2019 @ 19:29:00
Author: wild
Revision: 524530
archrelease: copy trunk to community-x86_64
Added:
vibe-d/repos/community-x86_64/PKGBUILD
(from rev 524529, vibe-d/trunk/PKGBUILD)
Deleted:
vibe-d/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-07 19:28:54 UTC (rev 524529)
+++ PKGBUILD 2019-11-07 19:29:00 UTC (rev 524530)
@@ -1,48 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
-
-pkgname=vibe-d
-_pkgname=vibe.d
-pkgver=0.8.5
-pkgrel=4
-pkgdesc='High-performance asynchronous I/O, concurrency and web application toolkit'
-arch=('x86_64')
-url='https://vibed.org'
-license=('MIT')
-depends=('liblphobos' 'openssl' 'libevent' 'zlib' 'diet-ng' 'd-stdx-allocator')
-makedepends=('meson' 'ldc' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/vibe-d/vibe.d/archive/v$pkgver.tar.gz"
- "fix-meson.patch::https://github.com/vibe-d/vibe.d/pull/2302/commits/b2e5f979b52ed8ae1d044c37d556fae70882917c.patch")
-sha512sums=('de4b14087e0df0de8ccad272481987d956487e8d18ab7142c3f25e54c41820e3f24aa6307416b67ff805240316c6dedc69f89fddf377307f0d5f35b9481cecdf'
- '33b987cd59bda57f032b2b29535c83552329051271d3b0c23bcae23da1a1b8f352055d94a9663371c01d53bbf463958497780d3c8563f6c7ab030ccb7f06081f')
-
-prepare() {
- cd $_pkgname-$pkgver
-
- patch -p1 < "$srcdir"/fix-meson.patch
-}
-
-build() {
- mkdir -p $_pkgname-$pkgver/build
- cd $_pkgname-$pkgver/build
-
- export DC=ldc
-
- arch-meson ..
-
- ninja
-}
-
-check() {
- cd $_pkgname-$pkgver/build
-
- ninja test
-}
-
-package() {
- cd $_pkgname-$pkgver/build
-
- DESTDIR="$pkgdir" ninja install
-
- install -Dm 644 ../LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
Copied: vibe-d/repos/community-x86_64/PKGBUILD (from rev 524529, vibe-d/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-07 19:29:00 UTC (rev 524530)
@@ -0,0 +1,53 @@
+# Maintainer: Filipe Laíns (FFY00) <filipe.lains at gmail.com>
+
+pkgname=vibe-d
+_pkgname=vibe.d
+pkgver=0.8.6
+pkgrel=1
+pkgdesc='High-performance asynchronous I/O, concurrency and web application toolkit'
+arch=('x86_64')
+url='https://vibed.org'
+license=('MIT')
+depends=('liblphobos' 'openssl' 'libevent' 'zlib' 'diet-ng' 'd-stdx-allocator')
+makedepends=('meson' 'ldc' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/vibe-d/vibe.d/archive/v$pkgver.tar.gz")
+sha512sums=('4c5960693698349b606a15f7e4e680474b05604e7a18b79890ee91b1e1805818ace916eb4d25727e8ec63ef7243b1f3d3df97be0682c0d785e32341878705ada')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ # Meson forgot to add this flag when creating a shared library.
+ find . -iname "meson.build" -exec sed -i "/soversion:/a, link_args: '-shared'," {} \;
+
+ # Add missing file
+ sed -i "/vibe_http_src =/a 'vibe/http/internal/basic_auth_client.d'," http/meson.build
+}
+
+build() {
+ mkdir -p $_pkgname-$pkgver/build
+ cd $_pkgname-$pkgver/build
+
+ export DC=ldc
+
+ arch-meson ..
+
+ # meson broke -soname for D in the latest update
+ sed -i "s/-soname,/=-soname=/g" build.ninja
+
+ ninja
+}
+
+check() {
+ cd $_pkgname-$pkgver/build
+
+ ninja test
+}
+
+package() {
+ cd $_pkgname-$pkgver/build
+
+ DESTDIR="$pkgdir" ninja install
+
+ install -Dm 644 ../LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list