Date: Sunday, September 9, 2018 @ 17:43:27
  Author: ffy00
Revision: 378922

archrelease: copy trunk to community-x86_64

Added:
  vibe-d/repos/community-x86_64/
  vibe-d/repos/community-x86_64/PKGBUILD
    (from rev 378921, vibe-d/trunk/PKGBUILD)

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

Copied: vibe-d/repos/community-x86_64/PKGBUILD (from rev 378921, 
vibe-d/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2018-09-09 17:43:27 UTC (rev 378922)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <filipe.la...@gmail.com>
+
+pkgname=vibe-d
+_pkgname=vibe.d
+pkgver=0.8.4
+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=('b0536f6f33592c8e0af5e212d9f4a7d0ad1bf711c315fbd321dd1f5a8ea648fe03793820b26dedf6dc03ec2dc35e809641724bc71c800e2562cc930e686ffcc3')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  # Disable failing tests
+  sed -i "/test('vibe-test_utils', vibe_test_utils_exe)/d" utils/meson.build
+}
+
+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
+}
+

Reply via email to