summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1122f0aab85c649768ab8898bf0f5f2ff226b571 (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
# Maintainer: Obscurely <adrian.obscurely@protonmail.com>
pkgname=falion-bin
pkgver=1.0.2
pkgrel=1
epoch=
pkgdesc="An open source, programmed in rust, privacy focused tool for scraping programming resources (like stackoverflow) fast, efficient and asynchronous/parallel using the CLI or GUI. "
arch=('x86_64')
url="https://github.com/Obscurely/falion"
license=('MIT')
provides=('falion-bin')
conflicts=('falion' 'falion-git')
source=("https://github.com/Obscurely/falion/releases/download/v${pkgver}-stable/falion-linux.tar.gz")
sha256sums=("e0d4f9a9597da084fdedc124bfe59b009a7cb4ca0f0500b0f252a1c7fd96d3c1")

package() {
    cd "$srcdir/"

    install -Dm755 falion -t "${pkgdir}/usr/bin/"
    install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname%-bin}/"
    install -Dm0644 -t "$pkgdir/usr/share/applications/" "linux/desktop/falion.desktop"
    for size in 16x16 32x32 64x64 128x128 256x256 512x512; do
      install -Dm0644 "linux/desktop/icons/hicolor/$size/apps/falion.png" \
        "$pkgdir/usr/share/icons/hicolor/$size/apps/falion.png"
    done
}