summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b25301b5ff715c14ec9d4558e76555387c79c4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: droserasprout <droserasprout@tuta.io>
# Contributor: atommixz <atommixz@gmail.com>

pkgname=airdcpp-webclient
pkgver=2.3.0
pkgrel=1
pkgdesc="A peer-to-peer file sharing client with web user interface"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL2')
url="https://github.com/airdcpp-web/${pkgname}"
depends=('miniupnpc' 'boost' 'boost-libs' 'bzip2' 'libmaxminddb' 'leveldb' 'gcc-libs' 'openssl' 'geoip' 'leveldb' 'websocketpp' 'zlib' 'libnatpmp' 'intel-tbb')
makedepends=('cmake' 'git' 'npm')
options=('!strip')
source=("git+${url}.git#tag=${pkgver}") 
sha256sums=('SKIP')

build() {
    cd ${pkgname}
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
    make -j2
}

package() {
    cd ${pkgname}
    make install DESTDIR="$pkgdir"
}