summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 129e9436b18e5d487f5046341306cf7f02dc49ca (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
28
29
30
31
32
33
34
# Maintainer: Timofey Titovets <nefelim4ag@gmail.com>

pkgname=arcticfox-config-bin
pkgver=1.11.10
pkgrel=1
pkgdesc="Configuration Tool for Vape Battery Mods with Arcticfox Firmware. Works on MacOS and Linux."
arch=('any')
url="https://github.com/hobbyquaker/arcticfox-config"
license=('GPL3')
depends=()
makedepends=()
install=$pkgname.install
source=(
        "https://github.com/hobbyquaker/arcticfox-config/releases/download/v$pkgver/arcticfox-config-$pkgver.tar.gz"
        "arcticfox-config.desktop"
        "https://github.com/hobbyquaker/arcticfox-config/raw/master/icon.png"
)
md5sums=(
        'SKIP'
        'SKIP'
        'SKIP'
)

package() {
        mkdir -p "${pkgdir}/opt/"
        mv -v "${srcdir}/arcticfox-config-$pkgver"                "${pkgdir}/opt/Arcticfox Config"

        install -Dm644 "${srcdir}/arcticfox-config.desktop"       "${pkgdir}/usr/share/applications/arcticfox-config.desktop"

        mkdir -p "${pkgdir}/usr/bin/"
        ln -svrf "${pkgdir}/opt/Arcticfox Config/arcticfox-config" "${pkgdir}/usr/bin/arcticfox-config"

        install -vDm644 icon.png "${pkgname}/usr/share/icons/hicolor/512x512/apps/arcticfox-config.png"
}