summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 31d1779f43a6b7804c77a37ec540fefe9633e2b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Nicolai Schmid <nicolai@schmid.uno>

pkgname=portfolio-performance-bin
pkgver=0.41.1
pkgrel=1
pkgdesc="A simple tool to calculate the overall performance of an investment portfolio."
arch=('x86_64')
url="https://www.portfolio-performance.info"
options=('!strip')
depends=()

source=(
    portfolio_$pkgver.tar.gz::"https://github.com/buchen/portfolio/releases/download/${pkgver}/PortfolioPerformance-${pkgver}-linux.gtk.x86_64.tar.gz"
    portfolio-performance.desktop
)

package() {
    # Extract the core package
    tar xzf portfolio_${pkgver}.tar.gz -C "${pkgdir}"

    mkdir -p ${pkgdir}/usr/share/applications
    install -m644 "${srcdir}/portfolio-performance.desktop" "${pkgdir}/usr/share/applications/portfolio-performance.desktop"

}

md5sums=('3d2f53e4afdc9dd8b4ac250b63129d81'
         'a1204cabfcbf5a026cd44923b87be026')