summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b146873b3c62e9e06dfb41b73fd3feaf0b21aa01 (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
# Maintainer: Alexander Björk <bjorkalx@protonmail.com>
# Maintainer: johnpyp <johnpyp.dev@gmail.com>

pkgname="redact-bin"
pkgdesc="Customize Redact to remove the content you'd like. Remove old tweets, images, discord messages, and much more."
pkgver="0.18.0"
pkgrel=1
arch=('x86_64')
url="https://redact.dev/"
license=('custom')
provides=('redact')
conflicts=('redact')
source=("https://update-desktop.redact.dev/build/Redact-${pkgver}.zip"
  "redact.desktop")
sha256sums=('5a84a8e8dfcfcffebd9db84cd9e48df3a51f183d89f5b2af86b670e861df11c6'
            'a05e8dd421979d3342dfaa011129ef3fdf0905b6bcf26646c687a3b63504081b')

package() {
  install -d ${pkgdir}/opt/${pkgname}
  cp -r $srcdir/* ${pkgdir}/opt/${pkgname}/
  install -d ${pkgdir}/usr/bin
  ln -s /opt/${pkgname}/redact ${pkgdir}/usr/bin/redact
  install -Dm644 "${srcdir}/redact.desktop" "${pkgdir}/usr/share/applications/redact.desktop"
  mkdir -p "${pkgdir}/usr/share/pixmaps"
  ln -s /opt/${pkgname}/resources/assets/icon.png "${pkgdir}/usr/share/pixmaps/redact.png"
}