updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / nvram-wakeup / PKGBUILD
blob1d4140f3d592f910e3fcc67d23646ee62cf5f65c
1 # Contributor: Andreas Baumann <abaumann@yahoo.com>
3 pkgname=nvram-wakeup
4 pkgver=1.1
5 pkgrel=2
6 pkgdesc="Reads and writes the WakeUp time in the BIOS."
7 arch=(i686 x86_64)
8 url="http://sourceforge.net/projects/nvram-wakeup"
9 license="GPL"
10 depends=('bash')
11 source=(http://downloads.sourceforge.net/project/nvram-wakeup/nvram-wakup-${pkgver}.tar.gz)
12 md5sums=('ebd6e276167ba4351ecb1ea2bd368422')
13 options=('!docs')
15 build() {
16   cd $srcdir/nvram-wakup-$pkgver
18   # standard Makefile variables (DESTDIR and prefix)
19   sed -i 's@${prefix}@${DESTDIR}${prefix}@g' Makefile
20   # FHS compliant location of man pages is /usr/share/man, not /usr/man
21   sed -i 's@${DESTDIR}${prefix}/man@${DESTDIR}${prefix}/share/man@g' Makefile
23   make || return 1
24   make DESTDIR=$pkgdir prefix=/usr install