# Maintainer: Nicolai Schmid # Maintainer: Alexander Phinikarides # Maintainer: Florian Wehner # PKGBUILD-Credit: https://aur.archlinux.org/account/teprrr pkgname=portfolio-performance-bin pkgver=0.60.2 pkgrel=1 pkgdesc="A simple tool to calculate the overall performance of an investment portfolio." arch=('x86_64') url="https://www.portfolio-performance.info" license=('EPL') options=('!strip') depends=('jre-openjdk' 'webkit2gtk') source=( portfolio_$pkgver.tar.gz::"https://github.com/buchen/portfolio/releases/download/${pkgver}/PortfolioPerformance-${pkgver}-linux.gtk.x86_64.tar.gz" portfolio-performance-bin.svg::"https://raw.githubusercontent.com/buchen/portfolio/${pkgver}/portfolio-product/icons/logo.svg" portfolio-performance-bin.desktop ) package() { install -d "$pkgdir"/{opt,usr/bin} cp -a "$srcdir"/portfolio "${pkgdir}"/opt/portfolio-performance-bin ln -s /opt/portfolio-performance-bin/PortfolioPerformance "$pkgdir"/usr/bin/PortfolioPerformance install -Dm 644 portfolio-performance-bin.desktop -t "$pkgdir"/usr/share/applications install -Dm 644 portfolio-performance-bin.svg -t "$pkgdir"/usr/share/pixmaps } sha512sums=('1911805cec4a4f4113e03ac4a4de7457855de9201e66c4bed486553735b4be8d9111372af46e55241c6eab8257f275b23ae70e9517ce46c54d9a5fd9a3f51067' 'a7aef110c3379ea40644c3acc8681abd2bda82522d90fc4777632883454055c63426f97dada8ca247e5fa20a9f5b462eead46d2c2bf16989d35cebd774d32162' '848a4d16dca0ad21d848986021a8d86fee7b3f4f81e916359cbd837d962b4ac5c2dd2b765d52dc40200761eaeac758a99be10c503f174f88e6662a6fc46a20ff')