summaryrefslogtreecommitdiff
path: root/check-kernel/PKGBUILD
blob: 082b5c2478dc573f96d9cfa254cf0ddadfbc8f35 (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
37
38
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=check-kernel
pkgver=0.6
pkgrel=1
pkgdesc='check if the installed kernel is currently running'
arch=('any')
url="https://git.eckner.net/Erich/${pkgname}"
license=('GPL')
groups=()
depends=()
makedepends=('help2man')
checkdepends=()
optdepends=(
  'shutdownasap:  less interuptive reboot'
)
provides=()
conflicts=()
replaces=()
backup=('etc/check-kernel.conf')
options=()
source=(
    "https://git.eckner.net/Erich/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.xz"
)
sha512sums=('cab71aeaf038b0dd9bd66d9fa493a96adb4b7dbe9f70d702ed5f19fd691e8a0f3a2b82691656499a857328db70fcc09a303598f3ca357ec9508f5666bb18e058')

build() {

    cd ${pkgname}-${pkgver}
    make

}

package() {

    cd ${pkgname}-${pkgver}
    make DESTDIR=${pkgdir} install

}