summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2010-06-04 11:13:06 -0500
committerVictor Lowther <victor.lowther@gmail.com>2010-06-05 11:06:24 -0500
commit9612398e36335b0358b4585ab6edd5589f9d129e (patch)
tree1d9a17544361ba0a29594d14f6e4cb4efa352158 /PKGBUILD
parenta4028ade02a01aff35d4968bfaeebe0748d1be98 (diff)
Add PKGBUILD for rudimentary Arch Linux support
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..c395bf4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgname=pm-utils-git
+pkgver=$(date +%s)
+pkgrel=$(git log --pretty=format:%h |head -n 1)
+pkgdesc="Utilities and scripts for suspend and hibernate power management"
+arch=('i686' 'x86_64')
+url="http://pm-utils.freedesktop.org"
+license=('GPL')
+conflicts=('pm-utils')
+provides=('pm-utils')
+depends=('bash' 'procps' 'vbetool' 'pm-quirks')
+optdepends=('upower')
+makedepends=('xmlto' 'docbook-xml' 'docbook-xsl' 'git')
+source=()
+md5sums=()
+
+build() {
+ cd ..
+ ./autogen.sh
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+} \ No newline at end of file