void-packages/srcpkgs/batman-adv/template
maxice8 d2eb199ebd
ports-wide: remove all occurrences of triggers="dkms"
There is no need for triggers="dkms" since having dkms_modules="" set
also adds the dkms trigger automatically.

This occoured problably since one template did it and everyone else
just copied it (understandable since dkms_modules is not documented)

[ci skip]
2018-08-20 08:34:30 -03:00

19 lines
637 B
Bash

# Template file for 'batman-adv14'
pkgname=batman-adv
version=2017.1
revision=1
short_desc="B.A.T.M.A.N. routing protocol kernel module"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://www.open-mesh.org/"
distfiles="http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/batman-adv-${version}.tar.gz"
checksum=ec1848023308c41710eeefb544580f5853d68b88a627a3f2dabaa3472b988c15
dkms_modules="batman-adv ${version}"
depends="dkms"
do_install() {
vmkdir usr/src/${pkgname}-${version}
cp -r * $DESTDIR/usr/src/${pkgname}-${version}
vcopy ${FILESDIR}/dkms.conf usr/src/${pkgname}-${version}
}