summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b25da16a863aecbdeb45c86512ab055b7b2894ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Piotr Gorski <lucjan.lucjanov@gmail.com>
# Contributor: graysky <graysky AT archlinux dot us>

pkgname=modprobed-db-git
_pkgname=modprobed-db
pkgver=2.44.0.g8e0e3c9
pkgrel=1
pkgdesc='Keeps track of EVERY kernel module ever used - useful for those of us who make localmodconfig :)'
arch=('any')
license=('MIT')
depends=('kmod')
makedepends=('git')
optdepends=('sudo')
provides=('modprobed-db')
conflicts=('modprobed-db')
url="https://wiki.archlinux.org/index.php/Modprobed-db"
source=("git+https://github.com/graysky2/modprobed-db")
sha256sums=('SKIP')
install=readme.install

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed 's/^v//;s/-/./g'
}            


build() {
	cd "$_pkgname"
	make
}

package() {
	cd "$_pkgname"
	make DESTDIR="$pkgdir" install
	install -Dm644 MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}