summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec93842adf2ff23529f18fadd4c5593ac1a43e49 (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
# Maintainer: Anton Kudelin <kudelin at protonmail dot com>

pkgname=kf5-kio-ftps
pkgver=0.3.1
pkgrel=1
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=('kio')
makedepends=('extra-cmake-modules' 'kdelibs4support')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('da46c93a7e70ea98487ba911accf1e380e3da2abf64dd18ad37d45e12eda4ea5')

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

package() {
  cd "$srcdir/build"
  make DESTDIR="$pkgdir" install
}