summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/pm-utils/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/pm-utils/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/pm-utils/PKGBUILD')
-rw-r--r--abs/core-testing/pm-utils/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core-testing/pm-utils/PKGBUILD b/abs/core-testing/pm-utils/PKGBUILD
new file mode 100644
index 0000000..0ca060c
--- /dev/null
+++ b/abs/core-testing/pm-utils/PKGBUILD
@@ -0,0 +1,29 @@
+#$Id: PKGBUILD 7546 2008-08-02 21:35:07Z jgc $
+#Maintainer: Jan de Groot <jgc@archlinux.org>
+pkgname=pm-utils
+pkgver=1.1.2.4
+pkgrel=1
+pkgdesc="Utilities and scripts for power management"
+arch=('i686' 'x86_64')
+url="http://pm-utils.freedesktop.org"
+license=('GPL')
+depends=('glibc' 'vbetool' 'procps')
+makedepends=('xmlto')
+install=pm-utils.install
+source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
+ service.patch
+ 11netcfg)
+md5sums=('5aa6d338fb8172f1826a1b08ae601a42'
+ '3e170a6c7ae7d9110f95bab54235c089'
+ '9839687c8787d99fd4ff36aa3238c27b')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ patch -Np0 -i ${startdir}/src/service.patch || return 1
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+
+ #Install additional hooks
+ install -m755 ${startdir}/src/11netcfg ${startdir}/pkg/usr/lib/pm-utils/sleep.d/11netcfg || return 1
+}