blob: c5b41adf6e15b9afdb65e57966af786ed916e54e (
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
|
# Maintainer: rnestler
pkgname=reboot-arch-btw
pkgver=0.5.0
pkgrel=1
pkgdesc='Check if you need to reboot due to an updated kernel'
arch=('i686' 'x86_64')
url="https://github.com/rnestler/reboot-arch-btw"
license=('GPL3')
makedepends=('rust' 'cargo')
depends=('dbus' 'xorg-xdpyinfo' 'pacman>6')
replaces=('kernel-updated')
source=("https://github.com/rnestler/reboot-arch-btw/archive/v${pkgver}.tar.gz")
sha256sums=('c9f204fae6a112c07e665a749737c0a10b48469a675e48b8660c70111b311e17')
build() {
cd "$srcdir/$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p "${pkgdir}/usr/bin"
cp -p target/release/${pkgname} "${pkgdir}/usr/bin"
}
|