blob: c368632ac46dbaab437953a1b3e58c92fe82302e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Lucas Oskorep <lucas.oskorep@gmail.com>
pkgname=viper-bin
_pkgname=viper
pkgver=1.12.1
pkgrel=1
epoch=3
pkgdesc="Viper is a launcher and updater for Northstar, and not much more than that."
arch=('x86_64')
depends=('nss' 'alsa-lib' 'gtk3')
url="https://github.com/0neGal/${_pkgname}"
license=('GPL3')
source=("https://github.com/0neGal/${_pkgname}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
sha256sums=('7158372c3aaa16d8facc874cce63b599342b157812ddf119ceea330900534876')
package() {
tar -xf data.tar.xz -C "${pkgdir}"
mkdir ${pkgdir}/usr/bin
install -Dm644 "${pkgdir}/usr/share/icons/hicolor/0x0/apps/viper.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/viper.png"
rm -rf "${pkgdir}/usr/share/icons/hicolor/0x0"
chmod 4755 "${pkgdir}/opt/Viper/chrome-sandbox"
ln -sf /opt/Viper/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
}
|