summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Figueiredo2021-08-30 00:01:18 +0100
committerJoão Figueiredo2021-08-30 00:01:18 +0100
commit957fc07541b9dbe488beebf3805c739ef57436fc (patch)
treeec96fb5ced2d4b596847f0fe90056c3e3f2bdd38
downloadaur-kio-fuse-git.tar.gz
Merged with official ABS kio-fuse PKGBUILD
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD34
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..20511ca891d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = kio-fuse-git
+ pkgdesc = FUSE interface for KIO
+ pkgver = 5.0.1_r219.g1508f60
+ pkgrel = 1
+ url = https://kde.org/
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = extra-cmake-modules-git
+ depends = kio-git
+ depends = fuse3
+ provides = kio-fuse
+ conflicts = kio-fuse
+ source = git+https://github.com/KDE/kio-fuse.git
+ sha256sums = SKIP
+
+pkgname = kio-fuse-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..436de7c75e2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Merged with official ABS kio-fuse PKGBUILD by João, 2021/08/25 (all respective contributors apply herein)
+# Maintainer: João Figueiredo & chaotic-aur <islandc0der@chaotic.cx>
+
+pkgname=kio-fuse-git
+pkgver=5.0.1_r219.g1508f60
+pkgrel=1
+arch=($CARCH)
+pkgdesc="FUSE interface for KIO"
+url="https://kde.org/"
+license=(GPL)
+depends=(kio-git fuse3)
+makedepends=(git extra-cmake-modules-git)
+conflicts=(${pkgname%-git})
+provides=(${pkgname%-git})
+source=("git+https://github.com/KDE/${pkgname%-git}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname%-git}
+# _ver="$(grep -m1 'project(kio-fuse VERSION' CMakeLists.txt | cut -d ' ' -f3 | tr -d ')' | tr - .)"
+ _ver="$(git describe | sed 's/^v//;s/-.*//')"
+ echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cmake -B build -S ${pkgname%-git} \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}