diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-17 11:25:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-17 11:35:56 +0000 |
commit | d502222fc4c8a439ee6b6c134f8dd28030dfe13a (patch) | |
tree | bf49ab1ef896f24d718ddcd4b8a32e2b3c50822a /main/kmod/APKBUILD | |
parent | d82dd2170a72063b32c2e56ec6e2acaa31af40d3 (diff) | |
download | aports-d502222fc4c8a439ee6b6c134f8dd28030dfe13a.tar.bz2 aports-d502222fc4c8a439ee6b6c134f8dd28030dfe13a.tar.xz |
main/kmod: add trigger and remove -libs subpackage
libkmod currently depends on kmod's depmod, so if anything needs libkmod
it we need pull in kmod and run depmod. We do so with a trigger.
Diffstat (limited to 'main/kmod/APKBUILD')
-rw-r--r-- | main/kmod/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/kmod/APKBUILD b/main/kmod/APKBUILD index 7e8e6cacec..65d0755924 100644 --- a/main/kmod/APKBUILD +++ b/main/kmod/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=kmod pkgver=21 -pkgrel=2 +pkgrel=3 pkgdesc="Linux kernel module management utilities" url="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary" arch="all" @@ -12,7 +12,8 @@ depends_dev="" # gnu sed is needed for symlink makedepends="$depends_dev zlib-dev xz-dev libxslt" install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs +triggers="$pkgname.trigger=/lib/modules/*" +subpackages="$pkgname-dev $pkgname-doc $pkgname-bash-completion:completion" source="http://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-$pkgver.tar.xz strndupa.patch |