summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a33ac78629fb81bec99c20cdf4867d56ca88bba5 (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
# Maintainer: Hajos Attila <linux.alucard@gmail.com>

pkgname=nudelta-appimage
pkgver=0.7.4
pkgrel=1
pkgdesc="Open source NuPhy Console alternative"
arch=(x86_64)
url="https://github.com/donn/nudelta"
license=("GPL3")
conflicts=('nudelta')
options=(!strip)
_appimage="nudelta-amd64.AppImage"
source=("${_appimage}::https://github.com/donn/nudelta/releases/download/${pkgver}/nudelta-amd64.AppImage"
        "nudelta.desktop"
        "nudelta.png")
sha512sums=('40af3160257bc247ab57a5a495bb204b27be6d745df7e901a7b27861bb645e18e1e6b218d5d321fa225da33fe3e50648d20480f68f53b18fb938fc1f2b17d36f'
            '8b1e35e8bb50f654c6c27cdcf4c3722d22b646a47a7ad5c38dc7784b19627acee136ae574d5be52578e86415a2a6f1ac0a9bcfc82fa7913f279d58f0827eb706'
            '07c37f9c4bbf6670f8762e624ce96bc987215d9c18c0e49637a1d431956ada86f63e048791d705a39060f43853d6dfe80471462b51e54d6722b38701891071c4')

package() {
    install -Dm755 "${srcdir}/nudelta-amd64.AppImage" "${pkgdir}/opt/nudelta-appimage/${_appimage}"
    install -Dm644 "${srcdir}/nudelta.desktop" "${pkgdir}/usr/share/applications/nudelta.desktop"
    install -Dm644 "${srcdir}/nudelta.png" "${pkgdir}/usr/share/pixmaps/nudelta.png"
    install -dm755 "${pkgdir}/usr/bin"
    ln -s "/opt/nudelta-appimage/${_appimage}" "${pkgdir}/usr/bin/nudelta"
}