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

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