summaryrefslogtreecommitdiff
path: root/pcr/kmod-openrc/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-07-12 17:19:36 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-07-12 17:19:36 -0400
commit759a6fc45aedef6cf6223c8c03f1737d1896f15d (patch)
tree625ec95c441aa0060916f2b6d7eef5d3aa07f241 /pcr/kmod-openrc/PKGBUILD
parent36874999c237bac6bed665e4380ad5004e46fd4b (diff)
parenta51a45f18643194977b898d44ca94a88ce1105ca (diff)
downloadabslibre-759a6fc45aedef6cf6223c8c03f1737d1896f15d.tar.gz
abslibre-759a6fc45aedef6cf6223c8c03f1737d1896f15d.tar.bz2
abslibre-759a6fc45aedef6cf6223c8c03f1737d1896f15d.zip
Merge branch 'lukeshu/systemd-split'
Diffstat (limited to 'pcr/kmod-openrc/PKGBUILD')
-rw-r--r--pcr/kmod-openrc/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/kmod-openrc/PKGBUILD b/pcr/kmod-openrc/PKGBUILD
new file mode 100644
index 000000000..a99f9dd7b
--- /dev/null
+++ b/pcr/kmod-openrc/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
+
+# Package information
+pkgname=kmod-openrc
+pkgdesc="kmod startup scripts for OpenRC"
+pkgrel=1
+arch=('any')
+groups=('base-openrc')
+depends=('openrc' 'kmod')
+
+# Upstream information
+pkgver=20170228
+_commit=22fd7b2d4764535bd3afc37728df1015b0294467
+url=https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/kmod
+# see here for new pkgver/_commit values: https://gitweb.gentoo.org/repo/gentoo.git/log/sys-apps/kmod/files/kmod-static-nodes-r1
+source=("kmod-static-nodes-r1-$pkgver::https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/kmod/files/kmod-static-nodes-r1?id=${_commit}")
+sha256sums=('328b74618b85fea197b36f8fc602a33d27e204f0d0b38ed0e6dfc920ba219e2f')
+license=('GPL2')
+
+package() {
+ install -Dm755 "$srcdir/kmod-static-nodes-r1-$pkgver" "$pkgdir/etc/init.d/kmod-static-nodes"
+ install -d "${pkgdir}/etc/runlevels/sysinit"
+ ln -sf "/etc/init.d/kmod-static-nodes" "${pkgdir}/etc/runlevels/sysinit/kmod-static-nodes"
+}