aur/ksmbd-tools/PKGBUILD
nyyu 6f59dd79df
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
feat: add ksmbd-tools git
2022-12-17 00:08:57 +01:00

31 lines
674 B
Bash

# 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"
}