blob: cd245c4c3a778eba6f5d3856b55334831063aa4c (
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
|
pkgname=115pc
pkgver=1.0.8.9
pkgrel=1
epoch=
pkgdesc="115.com PC client"
arch=('x86_64')
url="https://pc.115.com/"
license=('Proprietary')
groups=()
depends=()
makedepends=('tar')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!strip)
install=
changelog=
source=(
"https://down.115.com/client/${pkgname}/lin/${pkgname}_${pkgver}.deb"
"115.desktop"
"115.sh"
)
noextract=()
sha256sums=(
'a521d7363cb0e271721706db27d6995230ae237a27b92dc84ae29776c8e5d53c'
'SKIP'
'SKIP'
)
validpgpkeys=()
package() {
tar -C ${srcdir} -xf data.tar.xz
mkdir -p ${pkgdir}/opt/
install -Dm644 ${srcdir}/115.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
install -Dm644 ${srcdir}/usr/local/115/res/115.png ${pkgdir}/usr/share/icons/hicolor/256x256/apps/115pc.png
cp -rT ${srcdir}/usr/local/115 ${pkgdir}/opt/${pkgname}
install -Dm755 ${srcdir}/115.sh ${pkgdir}/opt/${pkgname}/115.sh
}
|