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

31 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=sportstracker
pkgver=3.6.0
pkgrel=1
pkgdesc="Application for people which want to record their sporting activities"
arch=('i686' 'x86_64')
url="http://www.saring.de/sportstracker/"
license=('GPL')
depends=('jre')
source=(http://downloads.sourceforge.net/sportstracker/SportsTracker-$pkgver-bin.zip
sportstracker.sh
sportstracker.desktop)
md5sums=('92a21f3960b5c78e4e4aa1bccad104a2'
'e2dbfcde567a789dd2ce5ee372ed9a70'
'f1bae50553e3afec0dd9a536d4445832')
build() {
cd "$srcdir/SportsTracker-$pkgver-bin"
install -D -m644 SportsTracker.jar \
"$pkgdir/usr/share/java/sportstracker/SportsTracker.jar" || return 1
install -m644 lib/*.jar "$pkgdir/usr/share/java/sportstracker" || return 1
install -D -m755 "$srcdir/sportstracker.sh" "$pkgdir/usr/bin/sportstracker" || return 1
install -D -m644 "$srcdir/sportstracker.desktop" \
"$pkgdir/usr/share/applications/sportstracker.desktop" || return 1
install -D -m644 st-logo.png "$pkgdir/usr/share/pixmaps/sportstracker.png" || return 1
}