diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-16 10:34:49 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-16 10:34:49 +0100 |
commit | f24ad15758f8eebcc46cb0c210f888491869d3f0 (patch) | |
tree | 85c74dd33e056502de7a306161d28f5b15b274c2 /community/osdbattery/PKGBUILD | |
parent | 5f4568c7f7ba204bc047d2c74a5721f23024b339 (diff) | |
parent | 636ce8849a9c82c1787c2919ffcfe6685cb799d3 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/chmsee/PKGBUILD
community/darkstat/PKGBUILD
community/dbmail/PKGBUILD
community/dvdisaster/PKGBUILD
community/epic4/PKGBUILD
community/fb-client/PKGBUILD
community/fcrackzip/PKGBUILD
community/fdupes/PKGBUILD
community/flobopuyo/PKGBUILD
community/intel-tbb/PKGBUILD
community/openbsd-netcat/PKGBUILD
community/sunpinyin/PKGBUILD
community/tinc/PKGBUILD
community/uudeview/PKGBUILD
community/zathura/PKGBUILD
core/libedit/PKGBUILD
core/mkinitcpio-busybox/PKGBUILD
core/openssl/PKGBUILD
core/util-linux/PKGBUILD
extra/lua/PKGBUILD
gnome-unstable/pidgin/PKGBUILD
testing/openssl/PKGBUILD
testing/sudo/PKGBUILD
testing/udev/PKGBUILD
testing/util-linux/PKGBUILD
Diffstat (limited to 'community/osdbattery/PKGBUILD')
-rw-r--r-- | community/osdbattery/PKGBUILD | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/community/osdbattery/PKGBUILD b/community/osdbattery/PKGBUILD index a9b0a1ab5..737e55fa9 100644 --- a/community/osdbattery/PKGBUILD +++ b/community/osdbattery/PKGBUILD @@ -1,22 +1,31 @@ -# $Id: PKGBUILD 7260 2010-01-03 16:12:31Z ibiru $ +# $Id: PKGBUILD 67719 2012-03-14 08:59:42Z giovanni $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: dibblethewrecker <dibblethewrecker@jiwe.org> + pkgname=osdbattery pkgver=1.4 -pkgrel=3 +pkgrel=4 pkgdesc="Displays battery information in the OSD style" arch=('i686' 'x86_64' 'mips64el') url="http://osdbattery.sourceforge.net" -license=("GPL2") +license=('GPL2') depends=('xosd') install=osdbattery.install -source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname\_$pkgver.tar.gz showbatt) -md5sums=('43f9cc0428b6cb25baf1e6e2286e88b1' 'a786cd645135a369c8ed55b837174c92') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_${pkgver}.tar.gz" + 'showbatt') +md5sums=('43f9cc0428b6cb25baf1e6e2286e88b1' + 'a786cd645135a369c8ed55b837174c92') build() { - cd $startdir/src/$pkgname\_$pkgver - make || return 1 - install -D -m755 $startdir/src/$pkgname\_$pkgver/$pkgname $startdir/pkg/usr/bin/$pkgname - install -D -m755 $startdir/src/showbatt $startdir/pkg/usr/bin/showbatt - install -D -m644 $startdir/src/$pkgname\_$pkgver/$pkgname.cfg $startdir/pkg/etc/$pkgname/$pkgname.cfg + cd "${srcdir}/${pkgname}_${pkgver}" + + make +} + +package() { + 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" } -# vim:syntax=sh |