updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / lidsleep / PKGBUILD
blobbbfdb9b73af1b954ffcf6f6684c7c76e43163c7e
1 # Maintainer: Dominik Mayer <dominik.mayer@gmail.com>
2 pkgname=lidsleep
3 pkgver=1.0
4 pkgrel=2
5 pkgdesc="Suspends the laptop to RAM after the lid is closed."
6 arch=('any')
7 url="https://wiki.archlinux.org/index.php/Suspending_to_Disk_with_hibernate-script#After_closing_lid"
8 license=('unknown')
9 depends=('pm-utils' 'acpid')
10 source=(lid)
11 md5sums=('158b2052fc6405bea540317e54b92f0e')    
12 install=('lidsleep.install')
14 build() {
15   mkdir "$pkgdir/etc"
16   mkdir "$pkgdir/etc/acpi"
17   mkdir "$pkgdir/etc/acpi/events"
18   cp lid $pkgdir/etc/acpi/events