[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Monday, October 30, 2017 @ 10:41:39 Author: andyrtr Revision: 264744 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 264742, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 264743, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 264743, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 264743, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 48 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 48 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 122 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 264742, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-10-30 10:41:39 UTC (rev 264744) @@ -0,0 +1,48 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp-smapi +pkgver=0.42 +_extradir=/usr/lib/modules/extramodules-4.9-lts +pkgrel=21 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.59' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.59' 'linux-lts-headers<4.10') +install="$pkgname.install" +source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd ${pkgname/-lts/}-$_pkgname-$pkgver + + # 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/}-$_pkgname-$pkgver + + # 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" + + # update kernel version in install file + sed -ri "s|^(extramodules=).*\$|\1$_extradir|" "$startdir/$pkgname.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 264743, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-10-30 10:41:39 UTC (rev 264744) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 264743, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-10-30 10:41:39 UTC (rev 264744) @@ -0,0 +1,48 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp-smapi +pkgver=0.42 +_extradir=/usr/lib/modules/extramodules-4.9-lts +pkgrel=21 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.59' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.59' 'linux-lts-headers<4.10') +install="$pkgname.install" +source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd ${pkgname/-lts/}-$_pkgname-$pkgver + + # 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="$(<
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, October 12, 2017 @ 19:55:02 Author: andyrtr Revision: 262488 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 262487, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 262487, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 262487, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 262487, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 48 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 48 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 122 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 262487, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-10-12 19:55:02 UTC (rev 262488) @@ -0,0 +1,48 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp-smapi +pkgver=0.42 +_extradir=/usr/lib/modules/extramodules-4.9-lts +pkgrel=20 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.55' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.55' 'linux-lts-headers<4.10') +install="$pkgname.install" +source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd ${pkgname/-lts/}-$_pkgname-$pkgver + + # 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/}-$_pkgname-$pkgver + + # 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" + + # update kernel version in install file + sed -ri "s|^(extramodules=).*\$|\1$_extradir|" "$startdir/$pkgname.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 262487, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-10-12 19:55:02 UTC (rev 262488) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 262487, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-10-12 19:55:02 UTC (rev 262488) @@ -0,0 +1,48 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp-smapi +pkgver=0.42 +_extradir=/usr/lib/modules/extramodules-4.9-lts +pkgrel=20 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.55' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.55' 'linux-lts-headers<4.10') +install="$pkgname.install" +source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd ${pkgname/-lts/}-$_pkgname-$pkgver + + # 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="$
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Wednesday, September 20, 2017 @ 14:45:57 Author: andyrtr Revision: 258905 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 258903, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 258903, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 258903, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 258903, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 48 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 48 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 122 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 258903, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-09-20 14:45:57 UTC (rev 258905) @@ -0,0 +1,48 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp-smapi +pkgver=0.42 +_extradir=/usr/lib/modules/extramodules-4.9-lts +pkgrel=19 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.51' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.51' 'linux-lts-headers<4.10') +install="$pkgname.install" +source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd ${pkgname/-lts/}-$_pkgname-$pkgver + + # 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/}-$_pkgname-$pkgver + + # 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" + + # update kernel version in install file + sed -ri "s|^(extramodules=).*\$|\1$_extradir|" "$startdir/$pkgname.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 258903, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-09-20 14:45:57 UTC (rev 258905) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 258903, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-09-20 14:45:57 UTC (rev 258905) @@ -0,0 +1,48 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp-smapi +pkgver=0.42 +_extradir=/usr/lib/modules/extramodules-4.9-lts +pkgrel=19 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.51' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.51' 'linux-lts-headers<4.10') +install="$pkgname.install" +source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd ${pkgname/-lts/}-$_pkgname-$pkgver + + # 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
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, August 25, 2017 @ 19:41:35 Author: andyrtr Revision: 253426 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 253425, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 253425, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 253425, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 253425, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 253425, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-08-25 19:41:35 UTC (rev 253426) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=17 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.45' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.45' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 253425, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-08-25 19:41:35 UTC (rev 253426) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 253425, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-08-25 19:41:35 UTC (rev 253426) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=17 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.45' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.45' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_ker
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, August 11, 2017 @ 20:16:36 Author: andyrtr Revision: 249893 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 249892, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 249892, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 249892, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 249892, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 249892, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-08-11 20:16:36 UTC (rev 249893) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=16 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.42' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.42' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 249892, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-08-11 20:16:36 UTC (rev 249893) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 249892, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-08-11 20:16:36 UTC (rev 249893) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=16 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.42' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.42' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_ker
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Sunday, July 30, 2017 @ 10:19:32 Author: andyrtr Revision: 246977 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 246976, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 246976, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 246976, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 246976, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 246976, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-07-30 10:19:32 UTC (rev 246977) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=15 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.40' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.40' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 246976, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-07-30 10:19:32 UTC (rev 246977) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 246976, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-07-30 10:19:32 UTC (rev 246977) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=15 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.40' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.40' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernv
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Wednesday, July 5, 2017 @ 18:14:20 Author: andyrtr Revision: 242432 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 242431, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 242431, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 242431, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 242431, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 242431, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-07-05 18:14:20 UTC (rev 242432) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=14 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.36' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.36' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 242431, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-07-05 18:14:20 UTC (rev 242432) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 242431, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-07-05 18:14:20 UTC (rev 242432) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=14 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.36' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.36' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_ker
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Saturday, June 17, 2017 @ 13:11:21 Author: andyrtr Revision: 237875 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 237874, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 237874, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 237874, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 237874, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 237874, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-06-17 13:11:21 UTC (rev 237875) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=13 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.33' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.33' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 237874, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-06-17 13:11:21 UTC (rev 237875) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 237874, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-06-17 13:11:21 UTC (rev 237875) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=13 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.33' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.33' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_ker
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, April 21, 2017 @ 11:08:39 Author: andyrtr Revision: 224097 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 224096, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 224096, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 224096, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 224096, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 224096, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-04-21 11:08:39 UTC (rev 224097) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=12 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.24' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.24' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 224096, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-04-21 11:08:39 UTC (rev 224097) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 224096, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-04-21 11:08:39 UTC (rev 224097) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=12 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.24' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.24' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kern
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Sunday, April 9, 2017 @ 07:36:28 Author: andyrtr Revision: 221387 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 221386, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 221386, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 221386, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 221386, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 221386, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-04-09 07:36:28 UTC (rev 221387) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=11 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.21' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.21' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 221386, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-04-09 07:36:28 UTC (rev 221387) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 221386, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-04-09 07:36:28 UTC (rev 221387) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=11 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.21' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.21' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernv
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Saturday, March 18, 2017 @ 18:38:51 Author: andyrtr Revision: 217104 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 217103, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 217103, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 217103, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 217103, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 217103, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-03-18 18:38:51 UTC (rev 217104) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=10 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.16' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.16' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 217103, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-03-18 18:38:51 UTC (rev 217104) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 217103, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-03-18 18:38:51 UTC (rev 217104) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=10 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.16' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.16' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_ke
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Monday, February 27, 2017 @ 21:28:02 Author: andyrtr Revision: 214109 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 214108, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 214108, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 214108, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 214108, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 214108, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-02-27 21:28:02 UTC (rev 214109) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=9 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.13' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.13' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 214108, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-02-27 21:28:02 UTC (rev 214109) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.9-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 214108, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-02-27 21:28:02 UTC (rev 214109) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.9-lts +pkgrel=9 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.9.13' 'linux-lts<4.10') +makedepends=('linux-lts-headers>=4.9.13' 'linux-lts-headers<4.10') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_ker
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Saturday, February 18, 2017 @ 17:51:56 Author: andyrtr Revision: 213074 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 213073, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 213073, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 213073, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 213073, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 213073, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-02-18 17:51:56 UTC (rev 213074) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=8 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.50' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.50' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 213073, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-02-18 17:51:56 UTC (rev 213074) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 213073, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-02-18 17:51:56 UTC (rev 213074) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=8 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.50' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.50' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernv
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, January 12, 2017 @ 16:41:37 Author: andyrtr Revision: 207017 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 207016, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 207016, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 207016, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 207016, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 207016, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-01-12 16:41:37 UTC (rev 207017) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=7 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.42' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.42' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 207016, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-01-12 16:41:37 UTC (rev 207017) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 207016, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-01-12 16:41:37 UTC (rev 207017) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=7 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.42' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.42' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernve
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, January 6, 2017 @ 22:58:18 Author: andyrtr Revision: 205847 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 205846, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 205846, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 205846, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 205846, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 205846, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-01-06 22:58:18 UTC (rev 205847) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=6 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.40' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.40' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 205846, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2017-01-06 22:58:18 UTC (rev 205847) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 205846, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-01-06 22:58:18 UTC (rev 205847) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=6 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.40' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.40' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Wednesday, November 2, 2016 @ 15:49:28 Author: andyrtr Revision: 194519 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 194518, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 194518, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 194518, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 194518, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 194518, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-11-02 15:49:28 UTC (rev 194519) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=5 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.30' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.30' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 194518, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2016-11-02 15:49:28 UTC (rev 194519) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 194518, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-11-02 15:49:28 UTC (rev 194519) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=5 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.30' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.30' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernv
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, September 15, 2016 @ 19:32:29 Author: andyrtr Revision: 189355 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 189354, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 189354, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 189354, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 189354, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 189354, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-09-15 19:32:29 UTC (rev 189355) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=4 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.21' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.21' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 189354, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2016-09-15 19:32:29 UTC (rev 189355) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 189354, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-09-15 19:32:29 UTC (rev 189355) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=4 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.21' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.21' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kern
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Saturday, August 20, 2016 @ 20:49:18 Author: andyrtr Revision: 187216 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 187215, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 187215, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 187215, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 187215, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 50 community-testing-i686/tp_smapi-lts.install | 13 ++ community-testing-x86_64/PKGBUILD | 50 community-testing-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 187215, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-08-20 20:49:18 UTC (rev 187216) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=3 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.19' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.19' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 187215, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2016-08-20 20:49:18 UTC (rev 187216) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 187215, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-08-20 20:49:18 UTC (rev 187216) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=3 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.19' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.19' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, June 9, 2016 @ 22:07:42 Author: andyrtr Revision: 178900 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: tp_smapi-lts/repos/community-staging-i686/ tp_smapi-lts/repos/community-staging-i686/PKGBUILD (from rev 178899, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-staging-i686/tp_smapi-lts.install (from rev 178899, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-staging-x86_64/ tp_smapi-lts/repos/community-staging-x86_64/PKGBUILD (from rev 178899, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-staging-x86_64/tp_smapi-lts.install (from rev 178899, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-staging-i686/PKGBUILD | 50 community-staging-i686/tp_smapi-lts.install | 13 ++ community-staging-x86_64/PKGBUILD | 50 community-staging-x86_64/tp_smapi-lts.install | 13 ++ 4 files changed, 126 insertions(+) Copied: tp_smapi-lts/repos/community-staging-i686/PKGBUILD (from rev 178899, tp_smapi-lts/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-06-09 20:07:42 UTC (rev 178900) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=2 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.13' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.13' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="$srcdir/$_pkgname-$__pkgname-$pkgver" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" +} Copied: tp_smapi-lts/repos/community-staging-i686/tp_smapi-lts.install (from rev 178899, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-staging-i686/tp_smapi-lts.install (rev 0) +++ community-staging-i686/tp_smapi-lts.install 2016-06-09 20:07:42 UTC (rev 178900) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-staging-x86_64/PKGBUILD (from rev 178899, tp_smapi-lts/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-06-09 20:07:42 UTC (rev 178900) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +__pkgname=tp-smapi +pkgver=0.42 +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgrel=2 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.13' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.13' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/evgeni/$_pkgname/archive/$__pkgname/$pkgver.tar.gz";) +md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') + +build() { + cd "$srcdir/$_pkgname-$__pkgname-$pkgver" + + _kernver=$(< "${_extramodules}/version") + make HDAPS=1 KVER="$_kernver" KBASE="/usr/lib/modules/$_kernver" +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/b
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, May 5, 2016 @ 09:55:26 Author: andyrtr Revision: 173818 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 173817, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 173817, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 173817, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 173817, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 173817, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-05-05 07:55:26 UTC (rev 173818) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgver=0.41 +pkgrel=51 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.9' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.9' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 173817, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2016-05-05 07:55:26 UTC (rev 173818) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 173817, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-05-05 07:55:26 UTC (rev 173818) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgver=0.41 +pkgrel=51 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.9' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.9' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Wednesday, April 20, 2016 @ 16:58:53 Author: andyrtr Revision: 171449 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 171448, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 171448, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 171448, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 171448, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 171448, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-04-20 14:58:53 UTC (rev 171449) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgver=0.41 +pkgrel=50 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.8' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.8' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 171448, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2016-04-20 14:58:53 UTC (rev 171449) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 171448, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-04-20 14:58:53 UTC (rev 171449) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgver=0.41 +pkgrel=50 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.8' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.8' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kern
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, April 14, 2016 @ 19:31:45 Author: andyrtr Revision: 171073 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: tp_smapi-lts/repos/community-staging-i686/ tp_smapi-lts/repos/community-staging-i686/PKGBUILD (from rev 171072, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-staging-i686/tp_smapi-lts.install (from rev 171072, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-staging-x86_64/ tp_smapi-lts/repos/community-staging-x86_64/PKGBUILD (from rev 171072, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-staging-x86_64/tp_smapi-lts.install (from rev 171072, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-staging-i686/PKGBUILD | 57 community-staging-i686/tp_smapi-lts.install | 13 + community-staging-x86_64/PKGBUILD | 57 community-staging-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-staging-i686/PKGBUILD (from rev 171072, tp_smapi-lts/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-04-14 17:31:45 UTC (rev 171073) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgver=0.41 +pkgrel=49 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.7' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.7' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-staging-i686/tp_smapi-lts.install (from rev 171072, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-staging-i686/tp_smapi-lts.install (rev 0) +++ community-staging-i686/tp_smapi-lts.install 2016-04-14 17:31:45 UTC (rev 171073) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.4-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-staging-x86_64/PKGBUILD (from rev 171072, tp_smapi-lts/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-04-14 17:31:45 UTC (rev 171073) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.4-lts +pkgver=0.41 +pkgrel=49 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.4.7' 'linux-lts<4.5') +makedepends=('linux-lts-headers>=4.4.7' 'linux-lts-headers<4.5') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernv
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Sunday, March 6, 2016 @ 10:36:33 Author: andyrtr Revision: 165204 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 165203, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 165203, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 165203, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 165203, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 165203, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-03-06 09:36:33 UTC (rev 165204) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=48 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.19' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.19' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 165203, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2016-03-06 09:36:33 UTC (rev 165204) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.1-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 165203, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-03-06 09:36:33 UTC (rev 165204) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=48 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.19' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.19' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kern
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Tuesday, February 16, 2016 @ 21:24:57 Author: andyrtr Revision: 161893 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 161892, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 161892, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 161892, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 161892, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 161892, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-02-16 20:24:57 UTC (rev 161893) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=47 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.18' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.18' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 161892, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2016-02-16 20:24:57 UTC (rev 161893) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.1-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 161892, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-02-16 20:24:57 UTC (rev 161893) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=47 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.18' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.18' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Monday, February 1, 2016 @ 17:54:36 Author: andyrtr Revision: 159809 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 159808, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 159808, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 159808, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 159808, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 159808, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-02-01 16:54:36 UTC (rev 159809) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=46 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.17' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.17' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 159808, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2016-02-01 16:54:36 UTC (rev 159809) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.1-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 159808, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-02-01 16:54:36 UTC (rev 159809) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=46 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.17' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.17' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _k
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, October 23, 2015 @ 21:35:13 Author: andyrtr Revision: 144831 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 144830, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 144830, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 144830, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 144830, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 144830, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-10-23 19:35:13 UTC (rev 144831) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=45 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.11' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.11' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 144830, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2015-10-23 19:35:13 UTC (rev 144831) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.1-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 144830, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-10-23 19:35:13 UTC (rev 144831) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=45 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.11' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.11' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _k
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Wednesday, September 30, 2015 @ 19:16:11 Author: andyrtr Revision: 142264 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 142263, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 142263, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 142263, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 142263, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 142263, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-09-30 17:16:11 UTC (rev 142264) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=44 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.9' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.9' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 142263, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2015-09-30 17:16:11 UTC (rev 142264) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.1-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 142263, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-09-30 17:16:11 UTC (rev 142264) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=44 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.9' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.9' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Sunday, September 20, 2015 @ 18:17:52 Author: andyrtr Revision: 141316 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 141315, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 141315, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 141315, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 141315, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 141315, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-09-20 16:17:52 UTC (rev 141316) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=42 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.7' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.7' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 141315, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2015-09-20 16:17:52 UTC (rev 141316) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.1-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 141315, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-09-20 16:17:52 UTC (rev 141316) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-4.1-lts +pkgver=0.41 +pkgrel=42 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=4.1.7' 'linux-lts<4.2') +makedepends=('linux-lts-headers>=4.1.7' 'linux-lts-headers<4.2') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _ker
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, May 15, 2015 @ 11:52:05 Author: fyan Revision: 133489 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 133488, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 133488, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 133488, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 133488, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 133488, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-05-15 09:52:05 UTC (rev 133489) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=41 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.42' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14.42' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 133488, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2015-05-15 09:52:05 UTC (rev 133489) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 133488, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-05-15 09:52:05 UTC (rev 133489) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=41 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.42' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14.42' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, May 1, 2015 @ 21:40:13 Author: andyrtr Revision: 132625 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 132624, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 132624, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 132624, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 132624, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 132624, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-05-01 19:40:13 UTC (rev 132625) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=39 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.40' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14.40' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 132624, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2015-05-01 19:40:13 UTC (rev 132625) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 132624, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-05-01 19:40:13 UTC (rev 132625) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=39 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.40' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14.40' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, February 27, 2015 @ 16:10:47 Author: andyrtr Revision: 128374 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 128373, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 128373, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 128373, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 128373, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 128373, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-02-27 15:10:47 UTC (rev 128374) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=37 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.34' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14.34' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 128373, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2015-02-27 15:10:47 UTC (rev 128374) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 128373, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-02-27 15:10:47 UTC (rev 128374) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=37 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.34' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14.34' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgv
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Tuesday, December 9, 2014 @ 00:15:38 Author: bpiotrowski Revision: 123670 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 123669, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 123669, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 123669, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 123669, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 123669, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-12-08 23:15:38 UTC (rev 123670) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=35 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.21' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 123669, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-12-08 23:15:38 UTC (rev 123670) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 123669, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-12-08 23:15:38 UTC (rev 123670) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=35 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.21' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Wednesday, October 15, 2014 @ 19:37:50 Author: bpiotrowski Revision: 120728 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 120727, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 120727, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 120727, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 120727, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 120727, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-10-15 17:37:50 UTC (rev 120728) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=34 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.21' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 120727, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-10-15 17:37:50 UTC (rev 120728) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 120727, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-10-15 17:37:50 UTC (rev 120728) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=34 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.21' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgv
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Saturday, October 11, 2014 @ 09:35:40 Author: andyrtr Revision: 120519 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 120518, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 120518, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 120518, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 120518, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 120518, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-10-11 07:35:40 UTC (rev 120519) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=33 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.21' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 120518, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-10-11 07:35:40 UTC (rev 120519) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 120518, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-10-11 07:35:40 UTC (rev 120519) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=33 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.21' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}"
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Monday, October 6, 2014 @ 08:38:33 Author: bpiotrowski Revision: 120203 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 120202, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 120202, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 120202, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 120202, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 120202, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-10-06 06:38:33 UTC (rev 120203) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=32 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.11' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 120202, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-10-06 06:38:33 UTC (rev 120203) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 120202, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-10-06 06:38:33 UTC (rev 120203) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=32 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.11' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}"
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, September 18, 2014 @ 21:51:48 Author: bpiotrowski Revision: 119203 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 119202, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 119202, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 119202, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 119202, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 119202, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-09-18 19:51:48 UTC (rev 119203) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=31 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.11' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 119202, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-09-18 19:51:48 UTC (rev 119203) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 119202, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-09-18 19:51:48 UTC (rev 119203) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=31 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.11' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkg
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Monday, September 8, 2014 @ 08:32:43 Author: bpiotrowski Revision: 118641 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 118640, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 118640, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 118640, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 118640, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 118640, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-09-08 06:32:43 UTC (rev 118641) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=30 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.11' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 118640, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-09-08 06:32:43 UTC (rev 118641) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 118640, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-09-08 06:32:43 UTC (rev 118641) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=30 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.11' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, July 3, 2014 @ 13:46:27 Author: bpiotrowski Revision: 114729 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 114728, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 114728, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 114728, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 114728, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 114728, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-07-03 11:46:27 UTC (rev 114729) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=28 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.10' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 114728, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-07-03 11:46:27 UTC (rev 114729) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.14-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 114728, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-07-03 11:46:27 UTC (rev 114729) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.14-lts +pkgver=0.41 +pkgrel=28 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.14.10' 'linux-lts<3.15') +makedepends=('linux-lts-headers>=3.14' 'linux-lts-headers<3.15') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}"
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Tuesday, July 1, 2014 @ 19:39:33 Author: bpiotrowski Revision: 114496 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 114495, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 114495, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 114495, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 114495, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 114495, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-07-01 17:39:33 UTC (rev 114496) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=27 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 114495, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-07-01 17:39:33 UTC (rev 114496) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 114495, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-07-01 17:39:33 UTC (rev 114496) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=27 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _k
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, March 7, 2014 @ 15:36:28 Author: bpiotrowski Revision: 106776 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 106775, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 106775, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 106775, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 106775, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 106775, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-03-07 14:36:28 UTC (rev 106776) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=26 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 106775, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-03-07 14:36:28 UTC (rev 106776) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 106775, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-03-07 14:36:28 UTC (rev 106776) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=26 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _k
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, February 21, 2014 @ 11:50:29 Author: bpiotrowski Revision: 106028 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 106027, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 106027, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 106027, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 106027, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 106027, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-02-21 10:50:29 UTC (rev 106028) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=25 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 106027, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-02-21 10:50:29 UTC (rev 106028) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 106027, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-02-21 10:50:29 UTC (rev 106028) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=25 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, February 7, 2014 @ 00:12:08 Author: bpiotrowski Revision: 105408 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 105407, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 105407, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 105407, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 105407, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 105407, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-02-06 23:12:08 UTC (rev 105408) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=24 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 105407, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-02-06 23:12:08 UTC (rev 105408) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 105407, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-02-06 23:12:08 UTC (rev 105408) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=24 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, January 16, 2014 @ 09:34:02 Author: bpiotrowski Revision: 104132 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 104131, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 104131, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 104131, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 104131, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 104131, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-01-16 08:34:02 UTC (rev 104132) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=23 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 104131, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-01-16 08:34:02 UTC (rev 104132) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 104131, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-01-16 08:34:02 UTC (rev 104132) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=23 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Saturday, January 11, 2014 @ 12:28:52 Author: bpiotrowski Revision: 103754 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 103753, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 103753, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 103753, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 103753, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 57 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 57 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 140 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 103753, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-01-11 11:28:52 UTC (rev 103754) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=22 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 103753, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2014-01-11 11:28:52 UTC (rev 103754) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 103753, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2014-01-11 11:28:52 UTC (rev 103754) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=22 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Thursday, November 21, 2013 @ 19:50:43 Author: bpiotrowski Revision: 101286 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 101285, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 101285, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 101285, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 101285, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 56 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 56 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 138 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 101285, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-11-21 18:50:43 UTC (rev 101286) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=19 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 101285, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2013-11-21 18:50:43 UTC (rev 101286) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 101285, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-11-21 18:50:43 UTC (rev 101286) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=19 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(<
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Wednesday, November 13, 2013 @ 12:07:43 Author: bpiotrowski Revision: 100914 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 100913, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 100913, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 100913, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 100913, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 56 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 56 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 138 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 100913, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-11-13 11:07:43 UTC (rev 100914) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=18 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 100913, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2013-11-13 11:07:43 UTC (rev 100914) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 100913, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-11-13 11:07:43 UTC (rev 100914) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=18 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Tuesday, October 15, 2013 @ 08:05:31 Author: bpiotrowski Revision: 98604 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 98603, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 98603, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 98603, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 98603, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 56 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 56 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 138 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 98603, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-10-15 06:05:31 UTC (rev 98604) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=17 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 98603, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2013-10-15 06:05:31 UTC (rev 98604) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 98603, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-10-15 06:05:31 UTC (rev 98604) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=17 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramod
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, September 27, 2013 @ 10:22:37 Author: bpiotrowski Revision: 97674 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 97673, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 97673, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 97673, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 97673, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 56 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 56 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 138 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 97673, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-09-27 08:22:37 UTC (rev 97674) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=14 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 97673, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2013-09-27 08:22:37 UTC (rev 97674) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 97673, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-09-27 08:22:37 UTC (rev 97674) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=14 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramo
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Tuesday, September 17, 2013 @ 10:45:51 Author: bpiotrowski Revision: 97314 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 97313, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 97313, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 97313, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 97313, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 56 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 56 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 138 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 97313, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-09-17 08:45:51 UTC (rev 97314) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=13 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 97313, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2013-09-17 08:45:51 UTC (rev 97314) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.10-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 97313, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-09-17 08:45:51 UTC (rev 97314) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.10-lts +pkgver=0.41 +pkgrel=13 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.10' 'linux-lts<3.11') +makedepends=('linux-lts-headers>=3.10' 'linux-lts-headers<3.11') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extram
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Friday, August 16, 2013 @ 12:41:05 Author: tpowa Revision: 95751 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 95750, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 95750, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 95750, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 95750, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 56 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 56 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 138 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 95750, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-08-16 10:41:05 UTC (rev 95751) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.0-lts +pkgver=0.41 +pkgrel=12 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.0' 'linux-lts<3.1') +makedepends=('linux-lts-headers>=3.0' 'linux-lts-headers<3.1') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 95750, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2013-08-16 10:41:05 UTC (rev 95751) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.0-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 95750, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-08-16 10:41:05 UTC (rev 95751) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.0-lts +pkgver=0.41 +pkgrel=12 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.0' 'linux-lts<3.1') +makedepends=('linux-lts-headers>=3.0' 'linux-lts-headers<3.1') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Monday, April 22, 2013 @ 11:26:04 Author: tpowa Revision: 88742 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 88741, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 88741, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 88741, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 88741, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 56 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 56 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 138 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 88741, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-04-22 09:26:04 UTC (rev 88742) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.0-lts +pkgver=0.41 +pkgrel=11 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.0' 'linux-lts<3.1') +makedepends=('linux-lts-headers>=3.0' 'linux-lts-headers<3.1') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 88741, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2013-04-22 09:26:04 UTC (rev 88742) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.0-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 88741, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-04-22 09:26:04 UTC (rev 88742) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.0-lts +pkgver=0.41 +pkgrel=11 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.0' 'linux-lts<3.1') +makedepends=('linux-lts-headers>=3.0' 'linux-lts-headers<3.1') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + +
[arch-commits] Commit in tp_smapi-lts/repos (6 files)
Date: Saturday, April 6, 2013 @ 11:44:57 Author: tpowa Revision: 87772 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 87771, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 87771, tp_smapi-lts/trunk/tp_smapi-lts.install) tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 87771, tp_smapi-lts/trunk/PKGBUILD) tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install (from rev 87771, tp_smapi-lts/trunk/tp_smapi-lts.install) ---+ community-testing-i686/PKGBUILD | 56 community-testing-i686/tp_smapi-lts.install | 13 + community-testing-x86_64/PKGBUILD | 56 community-testing-x86_64/tp_smapi-lts.install | 13 + 4 files changed, 138 insertions(+) Copied: tp_smapi-lts/repos/community-testing-i686/PKGBUILD (from rev 87771, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-04-06 09:44:57 UTC (rev 87772) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.0-lts +pkgver=0.41 +pkgrel=10 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.0' 'linux-lts<3.1') +makedepends=('linux-lts-headers>=3.0' 'linux-lts-headers<3.1') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile + + make HDAPS=1 +} + +package() { + _kernver=$(< "${_extramodules}/version") + + make -C "${_extramodules%/*}/${_kernver}/build" \ +INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ +M="${srcdir}/${_pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/${_extramodules%/*}" + mv "${_kernver}/extra" "${_extramodules##*/}" + rmdir "${_kernver}" + + # compress kernel modules + find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + + + # load module on startup + echo tp_smapi > "${srcdir}/${pkgname}.conf" + install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + + # update kernel version in install file + sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${pkgname}.install" +} Copied: tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install (from rev 87771, tp_smapi-lts/trunk/tp_smapi-lts.install) === --- community-testing-i686/tp_smapi-lts.install (rev 0) +++ community-testing-i686/tp_smapi-lts.install 2013-04-06 09:44:57 UTC (rev 87772) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-3.0-lts + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD (from rev 87771, tp_smapi-lts/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2013-04-06 09:44:57 UTC (rev 87772) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz +# Contributor: Nick B +# Contributor: Christof Musik +# Contributor: Stefan Rupp +# Contributor: Ignas Anikevicius + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_extramodules=/usr/lib/modules/extramodules-3.0-lts +pkgver=0.41 +pkgrel=10 +pkgdesc="linux-lts modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux-lts>=3.0' 'linux-lts<3.1') +makedepends=('linux-lts-headers>=3.0' 'linux-lts-headers<3.1') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";) +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + _kernver=$(< "${_extramodules}/version") + +