blob: f8c3f38c38f785f8cac147190d526b07740869b6 (
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.1.6
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=(
'be147769440f486898b729ef52e4fd8814a5bda9f5851077fd84363c6e624dea'
'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
}
|