blob: d42ba9523d6a3d35d88a6b3483775eb5f5765837 (
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
|
# Maintainer: Lara <aur@lara.uber.space>
pkgname=trebleshot
_sourcename=desktop
pkgver=0.1.0_alpha2
pkgrel=2
pkgdesc="A multi-platform file-sharing tool"
arch=(x86_64)
url="https://github.com/trebleshot/$_sourcename"
license=('GPL2')
depends=('qt5-base' 'kdnssd')
makedepends=('cmake')
optdepends=('qt5-wayland: Wayland support')
source=("https://github.com/trebleshot/$_sourcename/archive/${pkgver/_/-}.tar.gz")
sha1sums=('43cae6cd1afa764ffc8e0bdef677973a09395d20')
prepare() {
mkdir -p build
}
build() {
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../$_sourcename-${pkgver/_/-}
make
}
package() {
cd build
make DESTDIR="$pkgdir/" install
}
|