PKGBUILDs/community/wbar/PKGBUILD
2009-10-09 21:15:33 -05:00

32 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Eric Buschmann aka unplayedNamer <eric.buschmann@gmail.com>
pkgname=wbar
pkgver=1.3.3
pkgrel=2
arch=('i686' 'x86_64')
depends=('imlib2')
pkgdesc="A quick launch bar developed with speed in mind."
url="http://code.google.com/p/wbar"
license=('GPL')
source=(http://wbar.googlecode.com/files/$pkgname-$pkgver.tbz2
wbar-gcc430_and_warnings.patch)
md5sums=('542335a273188de0d6a93102501351a4'
'6b4e9e104a066a822d442813afc20c67')
build() {
cd $srcdir/$pkgname-$pkgver
patch < $srcdir/wbar-gcc430_and_warnings.patch
make || return 1
install -Dm755 wbar $pkgdir/usr/bin/wbar
sed -i "s|i\: |i\: /usr/share/wbar/|" dot.wbar
sed -i "s|t\: iconpack/wbar.osx/font/12|t\: /usr/share/wbar/iconpack/comic/12|" dot.wbar
install -Dm644 dot.wbar $pkgdir/usr/share/wbar/dot.wbar
install -d $pkgdir/usr/share/wbar/iconpack/wbar.osx
install -m644 iconpack/*ttf $pkgdir/usr/share/wbar/iconpack
install -m644 iconpack/wbar.osx/*png $pkgdir/usr/share/wbar/iconpack/wbar.osx
}