blob: 281882633e73e05177e891d850f644c9a496cce0 (
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
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
pkgname=halloy-bin
_pkgname="${pkgname%-bin}"
pkgver=2024.14
pkgrel=1
pkgdesc='An open-source IRC client written in Rust, with the Iced GUI library'
arch=(x86_64)
url='https://github.com/squidowl/halloy'
license=('GPL-3.0-or-later')
depends=(
alsa-lib
gcc-libs
glibc
hicolor-icon-theme
openssl
)
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}-x86_64-linux.tar.gz")
sha256sums=('f5c80e2ee5df3b18052d9db4482a71346a1af29cbe37e451c9a92276f2e4cc87')
package() {
install -Dm755 "bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "share/applications/org.squidowl.${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 "share/metainfo/org.squidowl.${_pkgname}.appdata.xml" -t "${pkgdir}/usr/share/metainfo"
for dir in $(ls "share/icons/hicolor"); do
install -Dm644 "share/icons/hicolor/${dir}/apps/org.squidowl.${_pkgname}.png" -t "${pkgdir}/usr/share/icons/hicolor/${dir}/apps/"
done
}
|