summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d18946d25003fb6451f6aab273741814583c56c (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
# Contributor: Asuka Minato
pkgname=com.xmly.deepin
pkgver=1.6.0deepin0
pkgrel=1
pkgdesc="Ximalaya Client on Deepin Wine"
arch=(x86_64)
url=https://www.ximalaya.com/
license=('custom')
depends=(
	deepin-wine5
	lib32-glibc
	lib32-udis86-git
	hicolor-icon-theme
	glib2 at-spi2-core libx11 fontconfig xdg-utils gdk-pixbuf2 pango gtk2 glibc bash cairo freetype2)
source=("https://com-store-packages.uniontech.com/appstore/pool/appstore/c/$pkgname/${pkgname}_${pkgver}_i386.deb"
)
sha256sums=('a58ea9151c0d4436560bf71015d6bfffc0eb5eee44d594ed56bae127e968f33e')

package() {
	tar -xvpf data.tar.* -C $pkgdir
	install -d "$pkgdir"/usr/share/icons
	find "$pkgdir" -name "*.desktop" -exec install -Dm644 {} -t "$pkgdir"/usr/share/applications/ \;
	find "$pkgdir" -name hicolor -type d -exec cp -av {} "$pkgdir"/usr/share/icons/ \;
}