-
Notifications
You must be signed in to change notification settings - Fork 5
/
PKGBUILD
42 lines (37 loc) · 897 Bytes
/
PKGBUILD
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
_reponame=qClash
pkgname=qClash
pkgver=0.2.0
pkgrel=1
arch=('x86_64')
pkgdesc='Clash Qt Gui Client'
license=('GPL')
depends=('qt5-base' 'qt5-websockets' 'qt5-svg' 'yaml-cpp')
makedepends=('cmake' 'ninja' 'qt5-tools')
url=""https://github.com/josephpei/${_reponame}
source=()
# source=("git+$url.git")
sha512sums=()
prepare() {
cd "$startdir"
mkdir -p build
# cd $srcdir
# ln -s SingleApplication-3.2.0/* ${_reponame}-${pkgver}/src/third_party/singleapplication/
# cd qClash
# git submodule init
# git config
# git submodule update
}
build() {
# cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# cd qClash
cd "$startdir/build"
cmake \
-DCMAKE_BUILD_TYPE:STRING='Release' \
..
make -j8
}
package() {
# cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
cd "$startdir/build"
DESTDIR="$pkgdir/" make install
}