# Maintainer: Nicolai Schmid # Maintainer: Alexander Phinikarides # Maintainer: Florian Wehner # PKGBUILD-Credit: https://aur.archlinux.org/account/teprrr pkgname=portfolio-performance-bin pkgver=0.65.3 pkgrel=3 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') 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=('7ef0fddc37c155b893fd0bf58e462eca01663106808adfb07f31397373c635715143bb184776996b969dd9129fd49a8e0ba00338b806173f8c59944a6719d74a' 'a7aef110c3379ea40644c3acc8681abd2bda82522d90fc4777632883454055c63426f97dada8ca247e5fa20a9f5b462eead46d2c2bf16989d35cebd774d32162' '30301e96d108f25b10d77bf370bef366cb774f400487f6ffb1d3d718691bd2ee29b6a0fe5e7d8e8cfbe8af538285e9b2953a67657c4c752025045a7a6d9efb82')