summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPlaton Ryzhikov2018-12-23 20:43:12 +0300
committerPlaton Ryzhikov2018-12-23 20:43:12 +0300
commit07734c600520cb46c8f93b903322a411564756d9 (patch)
treed7062eaa81c81f3e6703ad83dd32dfe0c2c88b95 /PKGBUILD
downloadaur-07734c600520cb46c8f93b903322a411564756d9.tar.gz
Add nldev
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f5b23b64df5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Platon Ryzhikov <ihummer63@yandex.ru>
+
+pkgbase=nldev-phkr
+pkgname=nldev
+pkgver=0.3
+pkgrel=1
+pkgdesc="frontend for mdev, replacing the over-engineered udevd"
+url="http://git.r-36.net/nldev/"
+arch=('i686' 'x86_64')
+makedepends=(git)
+license=('MIT')
+_commit=9971105
+source=("git://git.r-36.net/nldev#commit=$_commit"
+ "0000-change_shell.patch"
+ "0001-increase_buffer.patch")
+md5sums=('SKIP'
+ 'f96e7f40e2f4c5378c93c5cc97d4185d'
+ '508367c15bf5117870c7dc0765cba2b9')
+
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ mkdir -p "$pkgdir/etc"
+ mkdir -p "$pkgdir/usr/lib"
+ install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}