-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
66 lines (56 loc) · 1.51 KB
/
PKGBUILD
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Maintainer : Ho Kim <[email protected]>
pkgname='kakaotalk'
pkgver=0.1.0
pkgrel=4
pkgdesc='A mobile messaging app for smartphones operated by Kakao Corporation in South Korea'
arch=(
'i686'
'x86_64'
)
source=(
'https://www.kakao.com/ko/terms.html'
'LICENSE'
'kakaotalk'
'kakaotalk.desktop'
'kakaotalk.png'
)
url='https://www.kakaocorp.com/page/service/service/KakaoTalk'
license=(
'custom:kakaotalk'
'unlicense'
)
depends=(
'bash'
'curl'
'desktop-file-utils'
'lib32-gst-plugins-good'
'wine'
'xdg-utils'
)
sha256sums=(
'SKIP'
'6b0382b16279f26ff69014300541967a356a666eb0b91b422f6862f6b7dad17e'
'aa12b6b0e00cf6b3ffbc93e1eaa91225850e58e8e88aa9af47211d2a27fec619'
'5a62e97dc447a0740d92327264c538857f371f29aa8c1adbadafe6a38f835005'
'bc6102b626e970adb084f8eb84cebef02ee189ea4e84857b6535b9c524c2872c'
)
update_desktop() {
xdg-icon-resource forceupdate --theme hicolor &>/dev/null
update-desktop-database -q
}
post_install() {
update_desktop
}
post_upgrade() {
post_install
}
post_remove() {
update_desktop
}
package() {
install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/kakaotalk"
install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/kakaotalk.desktop"
install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/kakaotalk.png"
install -Dm644 -t "${pkgdir}/usr/share/licenses/kakaotalk" "${srcdir}/LICENSE"
install -Dm644 -t "${pkgdir}/usr/share/licenses/kakaotalk" "${srcdir}/terms.html"
}