summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPlaton Ryzhikov2021-09-13 11:33:38 +0300
committerPlaton Ryzhikov2021-09-13 11:40:49 +0300
commitf12c53bd03442778fdd711165b7fe48efbcd54eb (patch)
tree6c13066492763edb002101296cd7408056d904d0 /PKGBUILD
parent311b7a729198bf4ff0fa62d840c8ac266a3eb268 (diff)
downloadaur-nldev-phkr.tar.gz
update to 0.4-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 20 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 05be91615cf..29288a71230 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,47 +2,50 @@
pkgbase=nldev-phkr
pkgname=nldev
-pkgver=0.3
-pkgrel=7
+pkgver=0.4
+pkgrel=1
pkgdesc="frontend for mdev, replacing the over-engineered udevd"
url="http://git.r-36.net/nldev/"
arch=('i686' 'x86_64' 'aarch64')
makedepends=(git)
-depends=('mdev')
+depends=('mdev' 'libudev-zero')
license=('MIT')
-_commit=e0713f6
+_commit=662ba2
source=("git://git.r-36.net/nldev#commit=$_commit"
- "0000-change_shell.patch"
"0001-increase_buffer.patch"
'config.mk'
+ 'config.h'
+ 'modprobe_env'
'hook'
'install')
md5sums=('SKIP'
- 'f96e7f40e2f4c5378c93c5cc97d4185d'
'508367c15bf5117870c7dc0765cba2b9'
'1c4dcaf94bebdcb8f47a520776fd9ee0'
- '613a765dc1e0c2f203dbfae452f346ed'
- '3c76a58298fca8325843639d2a02b5d4')
+ 'ea205fb256e238fbbfccf306a9cfad53'
+ 'd1b6c44df9341b820580ddca68916bc6'
+ '08bc0a3a9fdbe7d1da7d04e1cd410de4'
+ 'a4d070d365a0d3636f0e28d89beca106')
provides=('udev' 'eudev')
prepare() {
cd "${srcdir}/${pkgname}"
- patch -Np1 -i ../0000-change_shell.patch
patch -Np1 -i ../0001-increase_buffer.patch
cp ../config.mk ./
+ cp ../config.h ./
}
build() {
- cd "$srcdir/$pkgname"
- make
+ cd "$srcdir/$pkgname"
+ make
}
package() {
- cd "$srcdir/$pkgname"
- make DESTDIR="$pkgdir" PREFIX=/usr install
- install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- cd "$srcdir"
- install -m644 -D hook "$pkgdir/usr/lib/initcpio/hooks/nldev"
- install -m644 -D install "$pkgdir/usr/lib/initcpio/install/nldev"
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd "$srcdir"
+ install -m644 -D hook "$pkgdir/usr/lib/initcpio/hooks/nldev"
+ install -m644 -D install "$pkgdir/usr/lib/initcpio/install/nldev"
+ install -m755 -D modprobe_env "$pkgdir/usr/bin/modprobe_env"
}