Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=tlp-stat
- pkgver=0.2.4
- pkgrel=1
- pkgdesc="tlp-stat, extracted from TLP by linrunner."
- _patchname="patch-${pkgname}-${pkgver}-${pkgrel}"
- arch=('any')
- url="https://launchpad.net/~linrunner/+archive/tlp"
- license=('GPL')
- depends=('bash' 'hdparm')
- optdepends=('wireless_tools: Control wireless devices.'
- 'perl: Used to unregister SCSI services.'
- 'ethtool: Used to disable WOL.'
- "tp_smapi: Modules for ThinkPad's SMAPI functionality."
- 'phc-intel: Frequency driver for Intel CPUs with undervolting feature.'
- 'smartmontools: Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives.'
- 'lsb-release: Provide short description of the current distribution.'
- 'dmidecode: Provide additional information about the system.')
- source=(http://ppa.launchpad.net/linrunner/tlp/ubuntu/pool/main/t/tlp/tlp_${pkgver}-0ubuntu1~lucid.tar.gz
- ${_patchname})
- build() {
- cd "${srcdir}/tlp-${pkgver}"
- patch -Np1 -i ${srcdir}/${_patchname} || return 1
- install -dm755 ${pkgdir}/usr/bin/
- install -Dm755 tlp-stat ${pkgdir}/usr/bin/
- install -dm755 ${pkgdir}/usr/lib/tlp
- install -Dm755 tlp-functions ${pkgdir}/usr/lib/tlp/
- install -Dm755 tlp-rf-func ${pkgdir}/usr/lib/tlp/
- }
- md5sums=('4f31dbd92d0ce45e00be6d92ebc4a87c'
- '392aa9a75111301c36ad0263bccabec4')
Advertisement
Add Comment
Please, Sign In to add comment