updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / laptop-detect / PKGBUILD
blobf9c6351c367656682cd134237bd6cb24a59e7b29
1 # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
2 # Contributor: Bartek Piotrowski <barthalion@gmail.com>
3 # Contributor: cromo <dawid@klej.net>
5 pkgname=laptop-detect
6 pkgver=0.13.7
7 pkgrel=2
8 pkgdesc='Attempts to detect a laptop'
9 arch=('i686' 'x86_64')
10 url='http://packages.qa.debian.org/l/laptop-detect.html'
11 license='BSD' 
12 depends=('dmidecode') 
13 source=("http://cdn.debian.net/debian/pool/main/l/${pkgname}/${pkgname}_${pkgver}.tar.gz")
14 md5sums=('b5b3dab84ca03b66c8501dc8a98f9c91')
16 package() { 
17     cd ${pkgname}
18     sed -e "s/@VERSION@/${pkgver}/g" < laptop-detect.in > laptop-detect
19     install -D -m755 laptop-detect "$pkgdir/usr/sbin/laptop-detect"
22 # vim:set ts=2 sw=2 ft=sh et: