Skip to content
Snippets Groups Projects
Commit c9ef5efa authored by Sébastien Luttringer's avatar Sébastien Luttringer
Browse files

Add laptop-detect from AUR

parents
No related branches found
Tags 0.13.7-3
No related merge requests found
PKGBUILD 0 → 100644
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
# Contributor: Bartek Piotrowski <barthalion@gmail.com>
# Contributor: cromo <dawid@klej.net>
pkgname=laptop-detect
pkgver=0.13.7
pkgrel=3
pkgdesc='Attempts to detect a laptop'
arch=('any')
url='http://packages.qa.debian.org/l/laptop-detect.html'
license='BSD'
depends=('dmidecode')
source=("http://cdn.debian.net/debian/pool/main/l/${pkgname}/${pkgname}_${pkgver}.tar.gz")
md5sums=('b5b3dab84ca03b66c8501dc8a98f9c91')
package() {
cd ${pkgname}
sed -e "s/@VERSION@/${pkgver}/g" < laptop-detect.in > laptop-detect
install -D -m755 laptop-detect "$pkgdir/usr/sbin/laptop-detect"
install -D -m 644 laptop-detect.8 "$pkgdir/usr/share/man/man8/laptop-detect.8"
}
# vim:set ts=2 sw=2 ft=sh et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment