summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 60b067dd385b43ad77f08a50e9307032eee8693e (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
pkgname=kio-s3
pkgver=r307.6f12c10
pkgrel=1
pkgdesc="A kio slave for Amazon Simple Storage Service (Amazon S3)"
arch=('x86_64')
url="https://github.com/KDE/kio-s3"
licenses=(' BSD-3-Clause' 'CC0-1.0' 'GPL-2.0-or-later')
depends=('freetype2' 'double-conversion' 'libnghttp2' 'qt6-base' 'aws-checksums' 'kcoreaddons' 'libpng' 'libgpg-error' 'bzip2' 'graphite' 'acl' 'glibc' 'e2fsprogs' 'libunistring' 'kcrash' 'kwindowsystem' 'pcre2' 'icu' 'ki18n' 'kio' 'zlib' 'aws-c-common' 'kservice' 'libx11' 'lz4' 'kauth' 'md4c' 'libgcrypt' 'harfbuzz' 'aws-c-cal' 'openssl' 'libxdmcp' 's2n-tls' 'systemd-libs' 'xcb-util-keysyms' 'libcap' 'keyutils' 'libidn2' 'xz' 'libglvnd' 'aws-c-event-stream' 'pcre' 'dbus' 'aws-sdk-cpp' 'gcc-libs' 'zstd' 'aws-c-io' 'kconfig' 'libpsl' 'curl' 'glib2' 'kdbusaddons' 'libxcb' 'libxau' 'libssh2' 'kdoctools')
makedepends=('extra-cmake-modules' 'git')
source=("git+https://github.com/KDE/kio-s3.git")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/$pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd "$srcdir/$pkgname"
  patch --forward --strip=1 --input=../../qt6.patch
}

build () {
  cd "$srcdir/${pkgname}"
  cmake .
  make
}

package() {
  make -C "$srcdir/${pkgname}" DESTDIR=$pkgdir install
}