# Maintainer: Felix Kauselmann # Contributor: droserasprout # Contributor: atommixz pkgname=airdcpp-webclient pkgver=2.12.1 pkgrel=1 pkgdesc="A peer-to-peer file sharing client with web user interface" arch=('x86_64' 'armv7h') license=('GPL2') url="https://github.com/airdcpp-web/${pkgname}" depends=('miniupnpc' 'boost' 'libmaxminddb' 'leveldb' 'openssl' 'geoip' 'leveldb' 'websocketpp' 'libnatpmp' 'intel-tbb') makedepends=('cmake' 'git' 'npm') source=("https://github.com/airdcpp-web/airdcpp-webclient/archive/${pkgver}.tar.gz") md5sums=('bb60490919e1ed6c1b45d1b469ae731e') build() { cd "${srcdir}/${pkgname}-${pkgver}" cmake ./ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="$pkgdir" install }