summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7727bfaed1af9236e219c0403231e04bc85e0cd0 (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
27
28
29
30
31
32
33
34
# Maintainer: notdixon <notdixon at gmx dot com>

pkgname=conceal-desktop
pkgver=6.6.5
pkgrel=1
pkgdesc="Conceal GUI (release version)"
arch=('any')
url="https://github.com/ConcealNetwork/conceal-desktop"
license=('MIT')
depends=('boost' 'boost-libs' 'qt5-base')
makedepends=('make' 'gcc' 'cmake' 'python' 'boost' 'boost-libs' 'qt5-base')
source=("https://github.com/ConcealNetwork/$pkgname/archive/refs/tags/$pkgver.tar.gz"
	"https://patch-diff.githubusercontent.com/raw/ConcealNetwork/conceal-core/pull/303.diff")
sha256sums=('SKIP' 'SKIP')

prepare() {
	cd "$pkgname-$pkgver"
	rm -rf cryptonote
	git clone https://github.com/ConcealNetwork/conceal-core cryptonote
	cd cryptonote
	
	git checkout 6.6.5	
	patch --forward --strip=1 --input="${srcdir}/303.diff"
}

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make build-release
}

package() {
	mkdir -p $pkgdir/usr/local/bin
	cp "$srcdir/$pkgname-$pkgver/build/release/conceal-desktop" "$pkgdir/usr/local/bin/"
}