blob: d96d6b873fe6aa88e2660d8e1d085a79b8acc351 (
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
35
36
37
38
39
40
|
# Maintainer: PRESFIL <echo cHJlc2ZpbEBwcm90b25tYWlsLmNvbQo= | base64 -d>
pkgname=i2pd-qt-git
pkgver=2.50.0.r0.41546bf # renovate: datasource=github-tags depName=PurpleI2P/i2pd-qt
pkgrel=1
pkgdesc="i2pd with Qt based GUI "
arch=('any')
url="https://i2pd.website/"
license=('custom: BSD3')
groups=('i2p')
depends=('qt5-base' 'boost-libs' 'miniupnpc' 'openssl' 'zlib')
makedepends=('git' 'boost' 'miniupnpc' 'openssl' 'zlib')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('i2pd-qt::git+https://github.com/PurpleI2P/i2pd-qt.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
prepare() {
cd "${srcdir}/${pkgname%-git}"
git submodule init
git submodule update --recursive
}
build() {
cd "${srcdir}/${pkgname%-git}"
qmake
make
}
package() {
cd "${srcdir}/${pkgname%-git}"
make INSTALL_ROOT="${pkgdir}" install
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname%-git}/"
}
|