Date: Saturday, May 7, 2016 @ 20:26:26 Author: tpowa Revision: 174224
db-move: moved tp_smapi from [community-testing] to [community] (i686, x86_64) Added: tp_smapi/repos/community-i686/PKGBUILD (from rev 174223, tp_smapi/repos/community-testing-i686/PKGBUILD) tp_smapi/repos/community-i686/tp_smapi.install (from rev 174223, tp_smapi/repos/community-testing-i686/tp_smapi.install) tp_smapi/repos/community-x86_64/PKGBUILD (from rev 174223, tp_smapi/repos/community-testing-x86_64/PKGBUILD) tp_smapi/repos/community-x86_64/tp_smapi.install (from rev 174223, tp_smapi/repos/community-testing-x86_64/tp_smapi.install) Deleted: tp_smapi/repos/community-i686/PKGBUILD tp_smapi/repos/community-i686/tp_smapi.install tp_smapi/repos/community-testing-i686/ tp_smapi/repos/community-testing-x86_64/ tp_smapi/repos/community-x86_64/PKGBUILD tp_smapi/repos/community-x86_64/tp_smapi.install -----------------------------------+ /PKGBUILD | 114 ++++++++++++++++++++++++++++++++++++ /tp_smapi.install | 26 ++++++++ community-i686/PKGBUILD | 57 ------------------ community-i686/tp_smapi.install | 13 ---- community-x86_64/PKGBUILD | 57 ------------------ community-x86_64/tp_smapi.install | 13 ---- 6 files changed, 140 insertions(+), 140 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-05-07 18:26:23 UTC (rev 174223) +++ community-i686/PKGBUILD 2016-05-07 18:26:26 UTC (rev 174224) @@ -1,57 +0,0 @@ -# $Id$ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: xduugu -# Contributor: nh2 -# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> -# Contributor: Nick B <Shirakawasuna ð gmail đ com> -# Contributor: Christof Musik <christof ð senfdax đ de> -# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> -# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> - -pkgname=tp_smapi -pkgver=0.41 -_extramodules=extramodules-4.5-ARCH -pkgrel=83 -pkgdesc="Modules for ThinkPad's SMAPI functionality" -arch=('i686' 'x86_64') -url='https://github.com/evgeni/tp_smapi' -license=('GPL') -depends=('linux>=4.5' 'linux<4.6') -makedepends=('linux-headers>=4.5' 'linux-headers<4.6') -install="${pkgname}.install" -source=("https://github.com/downloads/evgeni/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('63c683415c764568f6bf17c7eabe4752') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - - sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ - -e "s|^(KBASE\s*:=).*\$|\1 /usr/lib/modules/${_kernver}|" Makefile - - make HDAPS=1 -} - -package() { - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - - make -C "/usr/lib/modules/${_kernver}/build" \ - INSTALL_MOD_PATH="${pkgdir}/usr" \ - M="${srcdir}/${pkgname}-${pkgver}" modules_install - - cd "${pkgdir}/usr/lib/modules" - 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/usr/lib/modules/${_extramodules}|" \ - "${startdir}/${pkgname}.install" -} Copied: tp_smapi/repos/community-i686/PKGBUILD (from rev 174223, tp_smapi/repos/community-testing-i686/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-05-07 18:26:26 UTC (rev 174224) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> +# Contributor: Nick B <Shirakawasuna ð gmail đ com> +# Contributor: Christof Musik <christof ð senfdax đ de> +# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> +# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> + +pkgname=tp_smapi +pkgver=0.41 +_extramodules=extramodules-4.5-ARCH +pkgrel=84 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux>=4.5' 'linux<4.6') +makedepends=('linux-headers>=4.5' 'linux-headers<4.6') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s|^(KBASE\s*:=).*\$|\1 /usr/lib/modules/${_kernver}|" Makefile + + make HDAPS=1 +} + +package() { + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + + make -C "/usr/lib/modules/${_kernver}/build" \ + INSTALL_MOD_PATH="${pkgdir}/usr" \ + M="${srcdir}/${pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/usr/lib/modules" + 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/usr/lib/modules/${_extramodules}|" \ + "${startdir}/${pkgname}.install" +} Deleted: community-i686/tp_smapi.install =================================================================== --- community-i686/tp_smapi.install 2016-05-07 18:26:23 UTC (rev 174223) +++ community-i686/tp_smapi.install 2016-05-07 18:26:26 UTC (rev 174224) @@ -1,13 +0,0 @@ -extramodules=/usr/lib/modules/extramodules-4.5-ARCH - -post_install() { - depmod -v $(< "$extramodules/version") &>/dev/null -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: tp_smapi/repos/community-i686/tp_smapi.install (from rev 174223, tp_smapi/repos/community-testing-i686/tp_smapi.install) =================================================================== --- community-i686/tp_smapi.install (rev 0) +++ community-i686/tp_smapi.install 2016-05-07 18:26:26 UTC (rev 174224) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.5-ARCH + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-05-07 18:26:23 UTC (rev 174223) +++ community-x86_64/PKGBUILD 2016-05-07 18:26:26 UTC (rev 174224) @@ -1,57 +0,0 @@ -# $Id$ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: xduugu -# Contributor: nh2 -# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> -# Contributor: Nick B <Shirakawasuna ð gmail đ com> -# Contributor: Christof Musik <christof ð senfdax đ de> -# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> -# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> - -pkgname=tp_smapi -pkgver=0.41 -_extramodules=extramodules-4.5-ARCH -pkgrel=83 -pkgdesc="Modules for ThinkPad's SMAPI functionality" -arch=('i686' 'x86_64') -url='https://github.com/evgeni/tp_smapi' -license=('GPL') -depends=('linux>=4.5' 'linux<4.6') -makedepends=('linux-headers>=4.5' 'linux-headers<4.6') -install="${pkgname}.install" -source=("https://github.com/downloads/evgeni/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('63c683415c764568f6bf17c7eabe4752') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - - sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ - -e "s|^(KBASE\s*:=).*\$|\1 /usr/lib/modules/${_kernver}|" Makefile - - make HDAPS=1 -} - -package() { - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - - make -C "/usr/lib/modules/${_kernver}/build" \ - INSTALL_MOD_PATH="${pkgdir}/usr" \ - M="${srcdir}/${pkgname}-${pkgver}" modules_install - - cd "${pkgdir}/usr/lib/modules" - 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/usr/lib/modules/${_extramodules}|" \ - "${startdir}/${pkgname}.install" -} Copied: tp_smapi/repos/community-x86_64/PKGBUILD (from rev 174223, tp_smapi/repos/community-testing-x86_64/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-05-07 18:26:26 UTC (rev 174224) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> +# Contributor: Nick B <Shirakawasuna ð gmail đ com> +# Contributor: Christof Musik <christof ð senfdax đ de> +# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> +# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> + +pkgname=tp_smapi +pkgver=0.41 +_extramodules=extramodules-4.5-ARCH +pkgrel=84 +pkgdesc="Modules for ThinkPad's SMAPI functionality" +arch=('i686' 'x86_64') +url='https://github.com/evgeni/tp_smapi' +license=('GPL') +depends=('linux>=4.5' 'linux<4.6') +makedepends=('linux-headers>=4.5' 'linux-headers<4.6') +install="${pkgname}.install" +source=("https://github.com/downloads/evgeni/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('63c683415c764568f6bf17c7eabe4752') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + + sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ + -e "s|^(KBASE\s*:=).*\$|\1 /usr/lib/modules/${_kernver}|" Makefile + + make HDAPS=1 +} + +package() { + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + + make -C "/usr/lib/modules/${_kernver}/build" \ + INSTALL_MOD_PATH="${pkgdir}/usr" \ + M="${srcdir}/${pkgname}-${pkgver}" modules_install + + cd "${pkgdir}/usr/lib/modules" + 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/usr/lib/modules/${_extramodules}|" \ + "${startdir}/${pkgname}.install" +} Deleted: community-x86_64/tp_smapi.install =================================================================== --- community-x86_64/tp_smapi.install 2016-05-07 18:26:23 UTC (rev 174223) +++ community-x86_64/tp_smapi.install 2016-05-07 18:26:26 UTC (rev 174224) @@ -1,13 +0,0 @@ -extramodules=/usr/lib/modules/extramodules-4.5-ARCH - -post_install() { - depmod -v $(< "$extramodules/version") &>/dev/null -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: tp_smapi/repos/community-x86_64/tp_smapi.install (from rev 174223, tp_smapi/repos/community-testing-x86_64/tp_smapi.install) =================================================================== --- community-x86_64/tp_smapi.install (rev 0) +++ community-x86_64/tp_smapi.install 2016-05-07 18:26:26 UTC (rev 174224) @@ -0,0 +1,13 @@ +extramodules=/usr/lib/modules/extramodules-4.5-ARCH + +post_install() { + depmod -v $(< "$extramodules/version") &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}