summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b1518cbab939f0548969a4692654b8a0890baa9d (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
# Maintainer: Naoki Kanazawa <nk dot naoki912 at gmail dot com>
# Co-Maintainer: therojam <archlinux at therojam dot xyz>
pkgname=atomic-tweetdeck
pkgver=0.11.0
pkgrel=1
pkgdesc="Just a small Electron TweetDeck app."
arch=('any')
url="https://github.com/dogancelik/atomic-tweetdeck"
license=('MIT')
depends=('gtk2' 'gconf' 'xdg-utils' 'libxtst' 'libxss' 'nss' 'alsa-lib')
source=(
    	"${url}/releases/download/v${pkgver}/atomic-tweetdeck-linux-x64.tgz"
	"atomic-tweetdeck.desktop"
)
md5sums=(
    'd14f515ecd35feeacd3a338878952998'
    '6d0350843795b0e996d159e5dd6607bf'
)

package() {
    install -dm755 ${pkgdir}/usr/bin
    install -dm755 ${pkgdir}/usr/lib

    cp -a ${srcdir} ${pkgdir}/usr/lib/${pkgname}

    ln -s /usr/lib/atomic-tweetdeck/atomic-tweetdeck ${pkgdir}/usr/bin/atomic-tweetdeck

    install -Dm644 atomic-tweetdeck.desktop ${pkgdir}/usr/share/applications/atomic-tweetdeck.desktop
    install -Dm644 "${srcdir}/resources/app/favicon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"

    unlink ${pkgdir}/usr/lib/${pkgname}/atomic-tweetdeck-linux-x64.tgz
    unlink ${pkgdir}/usr/lib/${pkgname}/atomic-tweetdeck.desktop
}