blob: 0d1c72deacd240fff24d9cab65a4cee850d942b4 (
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
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Benjamin Kampmann <ben@acter.global>
pkgname=acter-nightly-bin
pkgver=1.24.11210
pkgrel=1
epoch=
pkgdesc="Casual Community Organizing"
arch=(x86_64)
url="https://acter.global"
license=('custom:Acter Public Source License 1.0')
groups=()
depends=('mpv' 'libsecret' 'jsoncpp' 'xdg-user-dirs' 'libayatana-appindicator')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=('acter-bin')
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/acterglobal/a3/releases/download/v1.24.11210/acter-linux-x64-1.24.11210.tar.bz2")
noextract=()
md5sums=("28652134cc9daa2a633ab579f346e77f")
validpgpkeys=()
package() {
install -dm755 "${pkgdir}/share/icons/hicolor/48x48/apps"
install -dm755 "${pkgdir}//share/icons/hicolor/scalable/apps"
install -dm755 "${pkgdir}/usr/share/applications"
install -dm755 "${pkgdir}/usr/share/appdata"
install -dm755 "${pkgdir}/usr/share/${pkgname}"
install -dm755 "${pkgdir}/usr/bin"
install -dm644 "${pkgdir}/usr/share/licenses/${pkgname}"
mv ./global.acter.a3.desktop "${pkgdir}/usr/share/applications"
mv ./acter.png "${pkgdir}/share/icons/hicolor/48x48/apps/"
mv ./acter.svg "${pkgdir}//share/icons/hicolor/scalable/apps"
mv ./LICENSE* "${pkgdir}/usr/share/licenses/${pkgname}/"
# mv ./global.acter.a3.appdata.xml "${pkgdir}/usr/share/appdata/acter.appdata.xml"
cp -ra ./data ./lib ./acter "${pkgdir}/usr/share/${pkgname}"
# sed -i 's|global.acter.a3|acter|' "${pkgdir}/usr/share/appdata/acter.appdata.xml"
ln -s "/usr/share/${pkgname}/acter" "${pkgdir}/usr/bin/acter"
}
|