feat: add ksmbd-tools git
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2022-12-17 00:08:57 +01:00
parent 50899fa787
commit 6f59dd79df
4 changed files with 56 additions and 1 deletions

View File

@ -28,7 +28,6 @@ jdk17-graalvm-bin
jellyfin-ffmpeg5
kodi-standalone-service
ksmbd-dkms
ksmbd-tools
megatools
molotov
native-image-jdk17-bin

21
ksmbd-tools/.SRCINFO Normal file
View File

@ -0,0 +1,21 @@
pkgbase = ksmbd-tools-git
pkgdesc = Userspace tools for the ksmbd kernel SMB server
pkgver = 3.4.6+29+ga09f767
pkgrel = 1
url = https://github.com/cifsd-team/ksmbd-tools
arch = x86_64
arch = i686
arch = aarch64
arch = armv7h
arch = armv6h
license = GPL2
makedepends = meson
depends = KSMBD-MODULE
depends = libnl
provides = samba
provides = ksmbd-tools
conflicts = ksmbd-tools
source = git+https://github.com/cifsd-team/ksmbd-tools.git
sha256sums = SKIP
pkgname = ksmbd-tools-git

4
ksmbd-tools/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*
!.gitignore
!.SRCINFO
!PKGBUILD

31
ksmbd-tools/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Leonidas P. <jpegxguy at outlook dot com>
pkgname=ksmbd-tools-git
pkgver=3.4.6+29+ga09f767
pkgrel=1
pkgdesc="Userspace tools for the ksmbd kernel SMB server"
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
url="https://github.com/cifsd-team/ksmbd-tools"
license=('GPL2')
makedepends=('meson')
depends=('KSMBD-MODULE' 'libnl')
provides=('samba' 'ksmbd-tools')
conflicts=('ksmbd-tools')
source=(git+${url}.git)
sha256sums=('SKIP')
pkgver() {
cd ksmbd-tools
git describe --tags | sed 's/^pkgconf-//;s/-/+/g'
}
build() {
cd ksmbd-tools
arch-meson build
meson compile -C build
}
package() {
cd ksmbd-tools
meson install -C build --destdir "$pkgdir"
}