[arch-commits] Commit in tp_smapi/repos/community-testing-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Nov 28 03:08:13 UTC 2020
Date: Saturday, November 28, 2020 @ 03:08:12
Author: heftig
Revision: 765031
archrelease: copy trunk to community-testing-x86_64
Added:
tp_smapi/repos/community-testing-x86_64/PKGBUILD
(from rev 765030, tp_smapi/trunk/PKGBUILD)
Deleted:
tp_smapi/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-28 02:55:46 UTC (rev 765030)
+++ PKGBUILD 2020-11-28 03:08:12 UTC (rev 765031)
@@ -1,48 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: xduugu
-# Contributor: nh2
-# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com>
-# Contributor: Nick B <Shirakawasuna ð gmail đ com>
-# Contributor: Christof Musik <christof ð senfdax đ de>
-# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de>
-# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com>
-
-pkgname=tp_smapi
-pkgver=0.43
-pkgrel=253
-pkgdesc="Modules for ThinkPad's SMAPI functionality"
-arch=('x86_64')
-url='https://github.com/evgeni/tp_smapi'
-license=('GPL')
-makedepends=('linux-headers' 'git')
-_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43
-source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^tp-smapi\///;s/-/+/g'
-}
-
-build() {
- cd $pkgname
-
- # https://bugs.archlinux.org/task/54975 (kernel has no _GLOBAL_OFFSET_TABLE_):
- # Clear EXTRA_CFLAGS since it defaults to injecting CFLAGS and -fno-plt breaks the modules
-
- make HDAPS=1 KVER="$(</usr/src/linux/version)" EXTRA_CFLAGS=
-}
-
-package() {
- depends=('linux')
-
- local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules
- cd $pkgname
-
- find . -name "*.ko" -exec install -Dt "$pkgdir$extradir" {} +
- find "$pkgdir" -name "*.ko" -exec strip --strip-debug {} +
- find "$pkgdir" -name "*.ko" -exec xz {} +
-
- # load module on startup
- echo tp_smapi | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
-}
Copied: tp_smapi/repos/community-testing-x86_64/PKGBUILD (from rev 765030, tp_smapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-28 03:08:12 UTC (rev 765031)
@@ -0,0 +1,48 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: xduugu
+# Contributor: nh2
+# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com>
+# Contributor: Nick B <Shirakawasuna ð gmail đ com>
+# Contributor: Christof Musik <christof ð senfdax đ de>
+# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de>
+# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com>
+
+pkgname=tp_smapi
+pkgver=0.43
+pkgrel=254
+pkgdesc="Modules for ThinkPad's SMAPI functionality"
+arch=('x86_64')
+url='https://github.com/evgeni/tp_smapi'
+license=('GPL')
+makedepends=('linux-headers' 'git')
+_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43
+source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^tp-smapi\///;s/-/+/g'
+}
+
+build() {
+ cd $pkgname
+
+ # https://bugs.archlinux.org/task/54975 (kernel has no _GLOBAL_OFFSET_TABLE_):
+ # Clear EXTRA_CFLAGS since it defaults to injecting CFLAGS and -fno-plt breaks the modules
+
+ make HDAPS=1 KVER="$(</usr/src/linux/version)" EXTRA_CFLAGS=
+}
+
+package() {
+ depends=('linux')
+
+ local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules
+ cd $pkgname
+
+ find . -name "*.ko" -exec install -Dt "$pkgdir$extradir" {} +
+ find "$pkgdir" -name "*.ko" -exec strip --strip-debug {} +
+ find "$pkgdir" -name "*.ko" -exec xz {} +
+
+ # load module on startup
+ echo tp_smapi | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+}
More information about the arch-commits
mailing list