[arch-commits] Commit in qhttpengine (3 files)

Balló György bgyorgy at archlinux.org
Sun Apr 25 10:06:48 UTC 2021


    Date: Sunday, April 25, 2021 @ 10:06:47
  Author: bgyorgy
Revision: 924011

archrelease: copy trunk to community-x86_64

Added:
  qhttpengine/repos/
  qhttpengine/repos/community-x86_64/
  qhttpengine/repos/community-x86_64/PKGBUILD
    (from rev 924010, qhttpengine/trunk/PKGBUILD)

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

Copied: qhttpengine/repos/community-x86_64/PKGBUILD (from rev 924010, qhttpengine/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2021-04-25 10:06:47 UTC (rev 924011)
@@ -0,0 +1,28 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Nathan Osman <nathan at quickmediasolutions.com>
+
+pkgname=qhttpengine
+pkgver=1.0.1
+pkgrel=2
+pkgdesc='Simple and secure HTTP server for Qt'
+arch=('x86_64')
+url='https://github.com/nitroshare/qhttpengine'
+license=('MIT')
+depends=('qt5-base')
+makedepends=('cmake' 'ninja')
+source=("https://github.com/nitroshare/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('6505cf889909dc29bab4069116656e7ca5a9e879f04935139439c5691a76c55e')
+
+build() {
+  cmake -S $pkgname-$pkgver -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr' -DBUILD_TESTS=ON
+  cmake --build build
+}
+
+check(){
+  ctest --test-dir build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 $pkgname-$pkgver/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}



More information about the arch-commits mailing list