summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPlaton Ryzhikov2019-02-07 15:16:03 +0300
committerPlaton Ryzhikov2019-02-07 15:16:03 +0300
commite6b6b49f957c8837ab986d0eefb69691794a7aca (patch)
treeb9d14658a1fe2f717e6cba3828101a25b9509e90 /PKGBUILD
parenteff88c60dba8afbf2be424c4267760f08837e9b9 (diff)
downloadaur-e6b6b49f957c8837ab986d0eefb69691794a7aca.tar.gz
Add initramfs support
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bcf73d6775e..046fbd8afd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=nldev-phkr
pkgname=nldev
pkgver=0.3
-pkgrel=4
+pkgrel=5
pkgdesc="frontend for mdev, replacing the over-engineered udevd"
url="http://git.r-36.net/nldev/"
arch=('i686' 'x86_64')
@@ -12,10 +12,14 @@ license=('MIT')
_commit=e0713f6
source=("git://git.r-36.net/nldev#commit=$_commit"
"0000-change_shell.patch"
- "0001-increase_buffer.patch")
+ "0001-increase_buffer.patch"
+ 'hook'
+ 'install')
md5sums=('SKIP'
'f96e7f40e2f4c5378c93c5cc97d4185d'
- '508367c15bf5117870c7dc0765cba2b9')
+ '508367c15bf5117870c7dc0765cba2b9'
+ '613a765dc1e0c2f203dbfae452f346ed'
+ 'af9a39fb39a042e10f92257efb159154')
prepare() {
cd "${srcdir}/${pkgname}"
@@ -32,4 +36,7 @@ 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"
}