Skip to content

Instantly share code, notes, and snippets.

@nathan-osman
Created April 23, 2016 20:15
Show Gist options
  • Select an option

  • Save nathan-osman/077226866ff5a6071c8d3a5d6859d9c9 to your computer and use it in GitHub Desktop.

Select an option

Save nathan-osman/077226866ff5a6071c8d3a5d6859d9c9 to your computer and use it in GitHub Desktop.
QHttpEngine on Arch
# Maintainer: Nathan Osman <nathan@quickmediasolutions.com>
pkgname='qhttpengine'
pkgver='0.1.0'
pkgrel=1
pkgdesc="Simple and secure HTTP server for Qt applications"
arch=('i686' 'x86_64')
license=('MIT')
url="http://github.com/nitroshare/qhttpengine"
depends=('qt5-base')
makedepends=('cmake')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/nitroshare/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('9e35815a517c93bc566fcb138a5ab172')
prepare() {
mkdir build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment