diff options
author | Anton Kudelin | 2020-09-17 22:41:47 +0300 |
---|---|---|
committer | Anton Kudelin | 2020-09-17 22:41:47 +0300 |
commit | 212d5e74e897d43804e5747b76037aee42efcc23 (patch) | |
tree | 09496b9e8ebf1d50fb12d01db3545c967683568e | |
download | aur-212d5e74e897d43804e5747b76037aee42efcc23.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d79679e1c1aa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = kf5-kio-ftps + pkgdesc = Implements the ftp encryption scheme called ftps, based on rfc 4217 + pkgver = 0.3 + pkgrel = 1 + url = https://github.com/Akimkin/kf5-kio-ftps + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = kdelibs4support + depends = kio + source = kf5-kio-ftps-0.3.tar.gz::https://github.com/Akimkin/kf5-kio-ftps/archive/v0.3.tar.gz + sha256sums = b69b5b7c7aeee456b8c45168818c086692112dc58a3d9982c41cca7d43284e0a + +pkgname = kf5-kio-ftps + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7a9b18b92485 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Anton Kudelin <kudelin at protonmail dot com> + +pkgname=kf5-kio-ftps +pkgver=0.3 +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=('cmake' 'kdelibs4support') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('b69b5b7c7aeee456b8c45168818c086692112dc58a3d9982c41cca7d43284e0a') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's@KDE_EXPORT@Q_DECL_EXPORT@g' ftp.cpp +} + +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 +} |