diff --git a/packagelist b/packagelist index 1770cd9272..c1d510087e 100644 --- a/packagelist +++ b/packagelist @@ -221,6 +221,7 @@ insync-deb intel-undervolt intellij-idea-community-bin internxt-deb +it87-dkms-git ivpn-deb ivpn-ui-deb jellyfin-media-player-deb diff --git a/packages/it87-dkms-git/.SRCINFO b/packages/it87-dkms-git/.SRCINFO new file mode 100644 index 0000000000..edc80d3112 --- /dev/null +++ b/packages/it87-dkms-git/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = it87-dkms-git + gives = it87 + pkgver = 152 + pkgdesc = Linux Driver for ITE LPC chips + url = https://github.com/frankcrawford/it87 + arch = x86_64 + arch = i686 + depends = dkms + makedepends = git + provides = it87 + maintainer = xdavius + source = it87::git+https://github.com/frankcrawford/it87.git + source = dkms.conf + source = it87.conf + sha256sums = SKIP + sha256sums = f325b751c8a81416a75c2c1e7a7bc9ca46ae0fa3b44d4ccc09593274be1b2dc7 + sha256sums = acdc488d1505e891ed6259b29428d4b27d26d18e3ea170f017b930390d6420e7 + +pkgname = it87-dkms-git diff --git a/packages/it87-dkms-git/dkms.conf b/packages/it87-dkms-git/dkms.conf new file mode 100644 index 0000000000..aa6c5b6356 --- /dev/null +++ b/packages/it87-dkms-git/dkms.conf @@ -0,0 +1,7 @@ +PACKAGE_NAME="@_PKGBASE@" +PACKAGE_VERSION="@PKGVER@" +MAKE[0]="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules" +CLEAN="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build clean" +BUILT_MODULE_NAME[0]="@_PKGBASE@" +DEST_MODULE_LOCATION[0]="/kernel/drivers/hwmon" +AUTOINSTALL="yes" diff --git a/packages/it87-dkms-git/it87-dkms-git.pacscript b/packages/it87-dkms-git/it87-dkms-git.pacscript new file mode 100644 index 0000000000..0b9ccdb66a --- /dev/null +++ b/packages/it87-dkms-git/it87-dkms-git.pacscript @@ -0,0 +1,55 @@ +pkgname="it87-dkms-git" +gives="it87" +pkgver="152" +pkgdesc="Linux Driver for ITE LPC chips" +arch=('x86_64' 'i686') +url='https://github.com/frankcrawford/it87' +depends=('dkms') +makedepends=('git') +provides=('it87') +source=("${gives}::git+https://github.com/frankcrawford/it87.git" + "dkms.conf" + "it87.conf") +sha256sums=('SKIP' + 'f325b751c8a81416a75c2c1e7a7bc9ca46ae0fa3b44d4ccc09593274be1b2dc7' + 'acdc488d1505e891ed6259b29428d4b27d26d18e3ea170f017b930390d6420e7') +maintainer=("xdavius ") + +package() { + cd "${srcdir}/${gives}" + + install -d "${pkgdir}/usr/src/${gives}-${pkgver}/" + cp -r "${srcdir}/${gives}"/* "${pkgdir}/usr/src/${gives}-${pkgver}/" + + install -Dm644 "${srcdir}/dkms.conf" "${pkgdir}/usr/src/${gives}-${pkgver}/dkms.conf" + + sed -e "s/@_PKGBASE@/${gives}/" \ + -e "s/@PKGVER@/${pkgver}/" \ + -i "${pkgdir}/usr/src/${gives}-${pkgver}/dkms.conf" + + install -Dm644 "${srcdir}/it87.conf" "${pkgdir}/usr/lib/depmod.d/it87.conf" +} + +post_upgrade() { + update-initramfs -u -k all +} + +post_install() { + DKMS_NAME="${gives}" + DKMS_VERSION="${pkgver}" + + dkms add -m "${DKMS_NAME}" -v "${DKMS_VERSION}" + dkms build -m "${DKMS_NAME}" -v "${DKMS_VERSION}" + dkms install -m "${DKMS_NAME}" -v "${DKMS_VERSION}" --force || true + + update-initramfs -u -k all +} + +pre_remove() { + DKMS_NAME="${gives}" + DKMS_VERSION="${pkgver}" + + dkms remove -m "${DKMS_NAME}" -v "${DKMS_VERSION}" --all || true + + update-initramfs -u -k all +} diff --git a/packages/it87-dkms-git/it87.conf b/packages/it87-dkms-git/it87.conf new file mode 100644 index 0000000000..59f0bb1d0d --- /dev/null +++ b/packages/it87-dkms-git/it87.conf @@ -0,0 +1,5 @@ +# +# /usr/lib/depmod.d/it87.conf +# + +search updates extramodules built-in diff --git a/srclist b/srclist index 98092584d5..481cfe92d2 100644 --- a/srclist +++ b/srclist @@ -4323,6 +4323,26 @@ pkgbase = internxt-deb pkgname = internxt-deb --- +pkgbase = it87-dkms-git + gives = it87 + pkgver = 152 + pkgdesc = Linux Driver for ITE LPC chips + url = https://github.com/frankcrawford/it87 + arch = x86_64 + arch = i686 + depends = dkms + makedepends = git + provides = it87 + maintainer = xdavius + source = it87::git+https://github.com/frankcrawford/it87.git + source = dkms.conf + source = it87.conf + sha256sums = SKIP + sha256sums = f325b751c8a81416a75c2c1e7a7bc9ca46ae0fa3b44d4ccc09593274be1b2dc7 + sha256sums = acdc488d1505e891ed6259b29428d4b27d26d18e3ea170f017b930390d6420e7 + +pkgname = it87-dkms-git +--- pkgbase = ivpn-deb gives = ivpn pkgver = 3.13.4