Date: Monday, August 19, 2013 @ 09:53:18 Author: tpowa Revision: 95970
db-move: moved tp_smapi-lts from [community-testing] to [community] (i686, x86_64) Added: tp_smapi-lts/repos/community-i686/PKGBUILD (from rev 95968, tp_smapi-lts/repos/community-testing-i686/PKGBUILD) tp_smapi-lts/repos/community-i686/tp_smapi-lts.install (from rev 95968, tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install) tp_smapi-lts/repos/community-x86_64/PKGBUILD (from rev 95968, tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD) tp_smapi-lts/repos/community-x86_64/tp_smapi-lts.install (from rev 95968, tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install) Deleted: tp_smapi-lts/repos/community-i686/PKGBUILD tp_smapi-lts/repos/community-i686/tp_smapi-lts.install tp_smapi-lts/repos/community-testing-i686/ tp_smapi-lts/repos/community-testing-x86_64/ tp_smapi-lts/repos/community-x86_64/PKGBUILD tp_smapi-lts/repos/community-x86_64/tp_smapi-lts.install ---------------------------------------+ /PKGBUILD | 112 ++++++++++++++++++++++++++++++++ /tp_smapi-lts.install | 26 +++++++ community-i686/PKGBUILD | 56 ---------------- community-i686/tp_smapi-lts.install | 13 --- community-x86_64/PKGBUILD | 56 ---------------- community-x86_64/tp_smapi-lts.install | 13 --- 6 files changed, 138 insertions(+), 138 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-08-19 07:53:17 UTC (rev 95969) +++ community-i686/PKGBUILD 2013-08-19 07:53:18 UTC (rev 95970) @@ -1,56 +0,0 @@ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> -# Contributor: xduugu -# Contributor: nh2 -# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> -# Contributor: Nick B <Shirakawasuna ð gmail đ com> -# Contributor: Christof Musik <christof ð senfdax đ de> -# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> -# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> - -pkgname=tp_smapi-lts -_pkgname=tp_smapi -_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-i686/PKGBUILD (from rev 95968, tp_smapi-lts/repos/community-testing-i686/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-08-19 07:53:18 UTC (rev 95970) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> +# Contributor: Nick B <Shirakawasuna ð gmail đ com> +# Contributor: Christof Musik <christof ð senfdax đ de> +# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> +# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_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" +} Deleted: community-i686/tp_smapi-lts.install =================================================================== --- community-i686/tp_smapi-lts.install 2013-08-19 07:53:17 UTC (rev 95969) +++ community-i686/tp_smapi-lts.install 2013-08-19 07:53:18 UTC (rev 95970) @@ -1,13 +0,0 @@ -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-i686/tp_smapi-lts.install (from rev 95968, tp_smapi-lts/repos/community-testing-i686/tp_smapi-lts.install) =================================================================== --- community-i686/tp_smapi-lts.install (rev 0) +++ community-i686/tp_smapi-lts.install 2013-08-19 07:53:18 UTC (rev 95970) @@ -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 +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-08-19 07:53:17 UTC (rev 95969) +++ community-x86_64/PKGBUILD 2013-08-19 07:53:18 UTC (rev 95970) @@ -1,56 +0,0 @@ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> -# Contributor: xduugu -# Contributor: nh2 -# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> -# Contributor: Nick B <Shirakawasuna ð gmail đ com> -# Contributor: Christof Musik <christof ð senfdax đ de> -# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> -# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> - -pkgname=tp_smapi-lts -_pkgname=tp_smapi -_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-x86_64/PKGBUILD (from rev 95968, tp_smapi-lts/repos/community-testing-x86_64/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-08-19 07:53:18 UTC (rev 95970) @@ -0,0 +1,56 @@ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: xduugu +# Contributor: nh2 +# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> +# Contributor: Nick B <Shirakawasuna ð gmail đ com> +# Contributor: Christof Musik <christof ð senfdax đ de> +# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> +# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> + +pkgname=tp_smapi-lts +_pkgname=tp_smapi +_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" +} Deleted: community-x86_64/tp_smapi-lts.install =================================================================== --- community-x86_64/tp_smapi-lts.install 2013-08-19 07:53:17 UTC (rev 95969) +++ community-x86_64/tp_smapi-lts.install 2013-08-19 07:53:18 UTC (rev 95970) @@ -1,13 +0,0 @@ -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-x86_64/tp_smapi-lts.install (from rev 95968, tp_smapi-lts/repos/community-testing-x86_64/tp_smapi-lts.install) =================================================================== --- community-x86_64/tp_smapi-lts.install (rev 0) +++ community-x86_64/tp_smapi-lts.install 2013-08-19 07:53:18 UTC (rev 95970) @@ -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 +}