summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05929415f13116b95ebc58ac86c68c3feef4d206 (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: Anton Kudelin <kudelin at proton dot me>

pkgname=kf5-kio-ftps
pkgver=0.3.1
pkgrel=2
pkgdesc="Implements the ftp encryption scheme called ftps, based on rfc 4217"
arch=(x86_64)
url="https://github.com/Akimkin/kf5-kio-ftps"
license=(GPL2)
depends=(kio5)
makedepends=(extra-cmake-modules kdelibs4support)
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
sha256sums=('da46c93a7e70ea98487ba911accf1e380e3da2abf64dd18ad37d45e12eda4ea5')

build() {
  cd "$srcdir"
  cmake -B build -S $pkgname-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_CXX_FLAGS="-I/usr/include/KF5/KDELibs4Support $CXXFLAGS"
  cmake --build build
}

package() {
  cd "$srcdir"
  DESTDIR="$pkgdir" cmake --install build
}