blob: 2af87d6577fed86c5a03ee478a8f6b603b7677aa (
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
45
46
47
48
49
50
51
|
# Maintainer: agentcobra <agentcobra@free.fr>
# Contributor: Nover <novares.x@gmail.com>
# Creator Blade <contact@blade-group.com>
# Made with https://github.com/NicolasGuilloux/blade-shadow-beta
_commit=9add3366d25530d51d168608c54b5339b64d2a4e
pkgname=shadow-beta
pkgver=4.2.1
pkgrel=1
pkgdesc="Shadow launcher"
arch=('x86_64')
url="http://shadow.tech"
license=('unknown')
depends=('desktop-file-utils' 'freetype2' 'libuv' 'gconf' 'hicolor-icon-theme' 'json-c' 'libappindicator-gtk2' 'libbsd' 'libcurl-gnutls' 'libdrm' 'libnotify' 'libva' 'libxtst' 'nss' 'opus' 'qt5-base' 'qt5-svg' 'sdl2' 'libappindicator' 'libcurl-compat' 'sdl' 'gcc7-libs' 'ttf-dejavu' 'libxss' 'libsndio-61-compat')
provides=(shadow-beta)
source=('https://shadow.tech/linux/shadow-beta.zip')
md5sums=('d47e22482755a2fc73061860c09d41ac')
install=$pkgname.install
# Build the package
package() {
### Create working folder
mkdir shadow
### Extract zip file
bsdtar -x -f shadow-beta.zip -C shadow
### Extract the deb
ar xv shadow/Shadow*.deb
### Extract the data
bsdtar xf data.tar.xz
chmod -R g-w usr
mv usr "${pkgdir}"
chmod -R g-w opt
mv opt "${pkgdir}"
# Move to shortcut directory
cd "${pkgdir}/usr/share/applications/"
sed -e 's/^Categories=.*$/Categories=Games;Game;Utility;Virtualization/g' shadow*.desktop > "$srcdir/shadow-beta.desktop"
rm shadow*.desktop
# Move the source directory
cd "$srcdir"
chmod g-w shadow-beta.desktop
mv shadow-beta.desktop "${pkgdir}/usr/share/applications/shadow-beta.desktop"
}
|