mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Kaos < gianlucaatlas at gmail dot com >
|
|
pkgname="uswsusp"
|
|
pkgver=0.8
|
|
pkgrel=5
|
|
pkgdesc="Allows suspending with new userspace suspend."
|
|
arch=(i686 x86_64)
|
|
url="http://suspend.sourceforge.net"
|
|
license=(GPL)
|
|
depends=(lzo2 libx86 libgcrypt)
|
|
makedepends=(libgcrypt gcc make)
|
|
conflicts=(suspend)
|
|
replaces=(suspend)
|
|
options=(docs zipman)
|
|
backup=(etc/suspend.conf)
|
|
install=uswsusp.install
|
|
source=("http://downloads.sourceforge.net/suspend/suspend-${pkgver}.tar.gz"
|
|
"uresume-hook"
|
|
"uresume-install")
|
|
md5sums=('c81817b2ba2be899cdb32c00de016bff'
|
|
'c0c73b3ba0969722a7b2a87f22d856d4'
|
|
'74f05dbedbc8d0c0900cdea5f5dd395a')
|
|
|
|
build() {
|
|
cd $startdir/src/suspend-$pkgver
|
|
|
|
./configure --enable-compress --enable-encrypt \
|
|
--disable-resume-static --disable-static \
|
|
--prefix=/usr --sysconfdir=/etc
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
install -D -m 644 ../uresume-hook $startdir/pkg/lib/initcpio/hooks/uresume && \
|
|
install -D -m 644 ../uresume-install $startdir/pkg/lib/initcpio/install/uresume
|
|
}
|