summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68859441a403ed282eaa4f7decb087ab33e1cb21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: HeroAAX <archlinux at heroaax dot com>
pkgname=graxpert-bin
pkgver=3.0.2
pkgrel=1
pkgdesc="gradient removal tool for astro photographing"
arch=('x86_64')
url="https://github.com/Steffenhir/GraXpert"
license=('GPL3')
depends=('python' 'python-pip')
provides=('graxpert')
conflicts=('graxpert')
options=('!strip')
source=("https://github.com/Steffenhir/GraXpert/releases/download/${pkgver}/graxpert-linux-amd64.zip")
sha256sums=('0a7364c3304ba19f12231d533c80b294054d6558d54ecd81668e4dec49092588')

package() {
    install -d "$pkgdir/opt/$pkgname"
    bsdtar -xf graxpert-linux-amd64.zip -C "$pkgdir/opt/$pkgname"
    install -d "$pkgdir/usr/bin"
    ln -s "/opt/$pkgname/GraXpert-linux/GraXpert" "$pkgdir/usr/bin/$pkgname"
}