32 lines
688 B
Bash
32 lines
688 B
Bash
# Maintainer: Leonidas P. <jpegxguy at outlook dot com>
|
|
|
|
pkgname=ksmbd-tools-git
|
|
pkgver=3.4.6+31+g06e8410
|
|
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 -Drundir=/run build
|
|
meson compile -C build
|
|
}
|
|
|
|
package() {
|
|
cd ksmbd-tools
|
|
meson install -C build --destdir "$pkgdir"
|
|
}
|