summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Baz2019-02-17 20:03:39 +0100
committerMaxim Baz2019-02-17 20:03:39 +0100
commitacd8ea133f523dee19c3d77acb034ad551702cf3 (patch)
tree468e5e681f82463834107214cedf044398ee18f3
downloadaur-acd8ea133f523dee19c3d77acb034ad551702cf3.tar.gz
dell-command-configure: init
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD33
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..04331aa7a0b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = dell-command-configure
+ pkgdesc = Configure various BIOS features on Dell laptops
+ pkgver = 4.1.0
+ pkgrel = 1
+ url = https://www.dell.com/support/article/us/en/19/sln311302/dell-command-configure
+ arch = x86_64
+ license = unknown
+ source = dell-command-configure-4.1.0.tar.gz::https://downloads.dell.com/FOLDER04967312M/1/command-configure_4.1.0-478.ubuntu16_amd64.tar.gz
+ sha256sums = d8eca8d98f0556340affabd298fa750a52cac20b7eead01f52f84d25e88d9eb3
+
+pkgname = dell-command-configure
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2346fef7c9a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=dell-command-configure
+pkgver=4.1.0
+pkgrel=1
+pkgdesc='Configure various BIOS features on Dell laptops'
+arch=('x86_64')
+url='https://www.dell.com/support/article/us/en/19/sln311302/dell-command-configure'
+license=('unknown')
+source=("${pkgname}-${pkgver}.tar.gz::https://downloads.dell.com/FOLDER04967312M/1/command-configure_${pkgver}-478.ubuntu16_amd64.tar.gz")
+sha256sums=('d8eca8d98f0556340affabd298fa750a52cac20b7eead01f52f84d25e88d9eb3')
+
+prepare() {
+ ar xf srvadmin-hapi_*.deb
+ mkdir srvadmin
+ tar -xvf data.tar.xz -C srvadmin
+
+ ar xf command-configure_*.deb
+ mkdir command-configure
+ tar -xvf data.tar.xz -C command-configure
+}
+
+package() {
+ cp -a srvadmin/* "${pkgdir}"
+ cp -a command-configure/* "${pkgdir}"
+
+ ln -Tsf omreg.d/omreg-hapi.cfg "${pkgdir}/opt/dell/srvadmin/etc/omreg.cfg"
+
+ mkdir -p "${pkgdir}/usr/bin"
+ ln -Tsf /opt/dell/dcc/cctk "${pkgdir}/usr/bin/cctk"
+}
+
+# vim:set ts=4 sw=4 et: