[arch-commits] Commit in tp_smapi-lts/repos/community-x86_64 (PKGBUILD PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Fri May 24 05:31:40 UTC 2019


    Date: Friday, May 24, 2019 @ 05:31:40
  Author: andyrtr
Revision: 469539

archrelease: copy trunk to community-x86_64

Added:
  tp_smapi-lts/repos/community-x86_64/PKGBUILD
    (from rev 469538, tp_smapi-lts/trunk/PKGBUILD)
Deleted:
  tp_smapi-lts/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-24 05:31:33 UTC (rev 469538)
+++ PKGBUILD	2019-05-24 05:31:40 UTC (rev 469539)
@@ -1,50 +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-lts
-_pkgname=tp-smapi
-pkgver=0.43
-_extradir=/usr/lib/modules/extramodules-4.19-lts
-pkgrel=3
-pkgdesc="Modules for ThinkPad's SMAPI functionality"
-arch=('x86_64')
-url='https://github.com/evgeni/tp_smapi'
-license=('GPL')
-depends=('linux-lts>=4.19.42' 'linux-lts<4.20')
-makedepends=('linux-lts-headers>=4.19.42' 'linux-lts-headers<4.20' 'git')
-_commit=a63729ab30d85430048f65c37f29188ab484cd52  # tags/tp-smapi/0.43
-source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd ${pkgname/-lts/}
-  git describe --tags | sed 's/^tp-smapi\///;s/-/+/g'
-}
-
-build() {
-  cd ${pkgname/-lts/}
-
-  # 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="$(<$_extradir/version)" EXTRA_CFLAGS=
-}
-
-package() {
-  cd ${pkgname/-lts/}
-
-  # install kernel modules
-  find . -name "*.ko" -exec install -Dt "$pkgdir$_extradir" {} +
-
-  # compress kernel modules
-  find "$pkgdir" -name "*.ko" -exec gzip -n -9 {} +
-
-  # load module on startup
-  echo tp_smapi | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
-}

Copied: tp_smapi-lts/repos/community-x86_64/PKGBUILD (from rev 469538, tp_smapi-lts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-24 05:31:40 UTC (rev 469539)
@@ -0,0 +1,50 @@
+# 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-lts
+_pkgname=tp-smapi
+pkgver=0.43
+_extradir=/usr/lib/modules/extramodules-4.19-lts
+pkgrel=4
+pkgdesc="Modules for ThinkPad's SMAPI functionality"
+arch=('x86_64')
+url='https://github.com/evgeni/tp_smapi'
+license=('GPL')
+depends=('linux-lts>=4.19.45' 'linux-lts<4.20')
+makedepends=('linux-lts-headers>=4.19.45' 'linux-lts-headers<4.20' 'git')
+_commit=a63729ab30d85430048f65c37f29188ab484cd52  # tags/tp-smapi/0.43
+source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd ${pkgname/-lts/}
+  git describe --tags | sed 's/^tp-smapi\///;s/-/+/g'
+}
+
+build() {
+  cd ${pkgname/-lts/}
+
+  # 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="$(<$_extradir/version)" EXTRA_CFLAGS=
+}
+
+package() {
+  cd ${pkgname/-lts/}
+
+  # install kernel modules
+  find . -name "*.ko" -exec install -Dt "$pkgdir$_extradir" {} +
+
+  # compress kernel modules
+  find "$pkgdir" -name "*.ko" -exec gzip -n -9 {} +
+
+  # 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