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

23 lines
732 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=keyboardcast
pkgver=0.1.1
pkgrel=3
pkgdesc="An app to relay text to selected windows"
arch=('i686' 'x86_64')
url="http://desrt.mcmaster.ca/code/keyboardcast"
license=('GPL')
depends=('libwnck' 'libglade' 'libxmu')
source=(http://desrt.mcmaster.ca/code/keyboardcast/keyboardcast-$pkgver.tar.gz)
md5sums=('5ed46188c70f5622a64d90965db389dc')
build() {
cd $startdir/src/keyboardcast-$pkgver
mkdir -p $startdir/pkg/usr
find -name Makefile -exec sed -i "s|/usr/local|/usr|" {} \;
find -name Makefile -exec sed -i "s|-t||" {} \;
export LDFLAGS="-L/usr/X11R6/lib"
make || return 1
make DESTDIR=$startdir/pkg install
}