blob: 1194fc4db180656a8ea9af98ff8f15adb499dfe2 (
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
|
# 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.16.4"
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=('a850a979cf644284ce777cc19d4044289003a55bd0ccfee167c1387589a33b48'
'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"
}
|