summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-08-13 19:41:48 -0600
committerBrian Bidulock2015-08-13 19:41:48 -0600
commit51e88ee789c683977e9b45cac6bace23b29896a2 (patch)
tree10cebe447cc51971d9e7d8681ea443da9cb7ef02
parentaeadbca6934560eadb3b768a8f45daf2435276c3 (diff)
parent4c99a9294b4fd6409ddbd1655dc75851ca56466f (diff)
downloadaur-51e88ee789c683977e9b45cac6bace23b29896a2.tar.gz
merged of KlipperKyle's pkgbuild
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 17 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 52284de15e1..1310780a378 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
pkgbase = wmbattery
pkgdesc = Battery monitor dockapp for Window Maker
- pkgver = 2.41
- pkgrel = 1
- url = http://kitenet.net/~joey/code/wmbattery/
+ pkgver = 2.48
+ pkgrel = 2
+ url = http://windowmaker.org/dockapps/?name=wmbattery
arch = i686
arch = x86_64
license = GPL
depends = libxpm
- depends = hal
- source = git://git.kitenet.net/wmbattery#tag=2.41
- source = disable-apm.patch
- md5sums = SKIP
- md5sums = c5e2a979ade6d16069065c93f2cf2402
+ depends = upower
+ source = wmbattery-2.48.tar.gz::http://windowmaker.org/dockapps/?download=wmbattery-2.48.tar.gz
+ md5sums = 315e1546036674170ea2035e2f3604dc
pkgname = wmbattery
diff --git a/PKGBUILD b/PKGBUILD
index f71915576c1..563eab06192 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,24 @@
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Henrik Tunedal <putte_xvi at tunedal dot nu>
pkgname=wmbattery
-pkgver=2.41
-pkgrel=1
+pkgver=2.48
+pkgrel=2
pkgdesc="Battery monitor dockapp for Window Maker"
arch=(i686 x86_64)
-url="http://kitenet.net/~joey/code/wmbattery/"
+url="http://windowmaker.org/dockapps/?name=wmbattery"
license=('GPL')
-depends=(libxpm hal)
-source=(git://git.kitenet.net/wmbattery#tag=2.41
- disable-apm.patch)
-md5sums=('SKIP'
- 'c5e2a979ade6d16069065c93f2cf2402')
+depends=(libxpm upower)
+source=("$pkgname-$pkgver.tar.gz::http://windowmaker.org/dockapps/?download=wmbattery-2.48.tar.gz")
+md5sums=('315e1546036674170ea2035e2f3604dc')
build() {
- cd "$srcdir/$pkgname"
- patch -p1 <../disable-apm.patch || return 1
- autoreconf -fiv || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
+ cd "$srcdir/dockapps-"*
+ autoreconf -fiv
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/dockapps-"*
make DESTDIR="$pkgdir/" install
}