updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / eclipse-motivational-splash / PKGBUILD
blob677d35cbad509ce68c4d8884c86ce30e04e061cc
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 pkgname=eclipse-motivational-splash
3 pkgver=1.1
4 pkgrel=1
5 pkgdesc="Motivational splash screen for Eclipse"
6 arch=('any')
7 url="http://thxforthe.info/"
8 license=('custom' 'BSD')
9 depends=('eclipse' 'python')
10 makedepends=('imagemagick' 'curl')
11 install=setupsplash.install
12 source=('setupsplash.py')
13 md5sums=('52c89fc52a5513c763b96cc124d84085')
15 build() {
16   cd "$srcdir"
18   msg2 "Downloading and resizing splash image..."
19   curl "http://thxforthe.info/blog/wp-content/uploads/2008/12/fuck-yeah.jpg" \
20     --progress-bar -o splash.jpg
21   echo "Public domain? Fair use?" > LICENSE
22   convert -resize 455x295 splash.jpg splash.bmp  
25 package() {
26   cd "$srcdir"
28   install -Dm755 setupsplash.py \
29     "$pkgdir/usr/bin/setup_eclipse_motivational_splash"
30   install -Dm644 splash.bmp \
31     "$pkgdir/usr/share/eclipse-motivational-splash/splash.bmp"
32   install -Dm644 LICENSE \
33     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36 # vim:set ts=2 sw=2 et: