diff options
author | root <root@rshg054.dnsready.net> | 2012-10-03 01:32:13 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-03 01:32:13 -0700 |
commit | 1350233b6dc1924ba29a42462447995f26dae0dc (patch) | |
tree | 5dfb3384023621f023e449f02df1f035a9b45170 /community/osdbattery | |
parent | 941550cbc215d608bd18439f99500b74fbb80f0d (diff) |
Wed Oct 3 01:31:01 PDT 2012
Diffstat (limited to 'community/osdbattery')
-rw-r--r-- | community/osdbattery/PKGBUILD | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/community/osdbattery/PKGBUILD b/community/osdbattery/PKGBUILD index 8e45267ef..1d2da5715 100644 --- a/community/osdbattery/PKGBUILD +++ b/community/osdbattery/PKGBUILD @@ -1,31 +1,36 @@ -# $Id: PKGBUILD 67719 2012-03-14 08:59:42Z giovanni $ +# $Id: PKGBUILD 76967 2012-10-02 18:09:45Z jlichtblau $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: dibblethewrecker <dibblethewrecker@jiwe.org> pkgname=osdbattery pkgver=1.4 -pkgrel=4 +pkgrel=5 pkgdesc="Displays battery information in the OSD style" arch=('i686' 'x86_64') -url="http://osdbattery.sourceforge.net" +url="http://osdbattery.sourceforge.net/" license=('GPL2') depends=('xosd') -install=osdbattery.install -source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_${pkgver}.tar.gz" - 'showbatt') -md5sums=('43f9cc0428b6cb25baf1e6e2286e88b1' - 'a786cd645135a369c8ed55b837174c92') +makedepends=('patch') +install=$pkgname.install +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_${pkgver}.tar.gz + sysfs.patch::"http://sourceforge.net/tracker/download.php?group_id=120528&atid=687314&file_id=429967&aid=3450277" + showbatt) +sha256sums=('b1f775c746cd78b6aa7fc9ee75ecf2806ef3da93a42dd806c0414dcae55aed9f' + 'd7a00e918929d36aaf3eb398649ea070ed6c4840e3da2407226fc5d9ae15d776' + '69969053235642315b49fe6ea5df7f8c391befbf492fd4ff71afbf4d438333b2') build() { - cd "${srcdir}/${pkgname}_${pkgver}" + cd ${srcdir}/${pkgname}_${pkgver} + + patch -i ${srcdir}/sysfs.patch make } package() { - cd "${srcdir}/${pkgname}_${pkgver}" + cd ${srcdir}/${pkgname}_${pkgver} - install -D -m755 $pkgname "${pkgdir}/usr/bin/${pkgname}" - install -D -m755 ${srcdir}/showbatt "${pkgdir}/usr/bin/showbatt" - install -D -m644 $pkgname.cfg "${pkgdir}/etc/${pkgname}/${pkgname}.cfg" + install -D -m755 $pkgname ${pkgdir}/usr/bin/${pkgname} + install -D -m755 ${srcdir}/showbatt ${pkgdir}/usr/bin/showbatt + install -D -m644 $pkgname.cfg ${pkgdir}/etc/${pkgname}/${pkgname}.cfg } |