summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f23061ffbebc804045eb19b35502eb2b8259016 (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
34
# Maintainer: ACCESA <accesa.mdash@gmail.com>
pkgname=cia-accesa
pkgver=2.1.2
pkgrel=1
pkgdesc="Control Inteligente de Accesos"
arch=('x86_64')
url="https://accesa.me"
license=('GPL')
depends=('alsa-lib' 'at-spi2-core' 'cairo' 'dbus' 'desktop-file-utils' 'discord' 'expat' 'gcc-libs' 'glib2' 'glibc' 'gtk3' 'gvfs' 'hicolor-icon-theme' 'intel-oneapi-basekit' 'kde-cli-tools' 'libcups' 'libdrm' 'libnotify' 'libx11' 'libxcb' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxrandr' 'libxtst' 'mesa' 'nspr' 'nss' 'pango' 'trash-cli' 'xdg-utils')
optdepends=('gir1.2-gnomekeyring-1.0: Description of optional feature'
            'libgnome-keyring: Another optional feature'
            'lsb-release: Yet another optional feature'
            'pulseaudio: Optional feature for sound support')
source=("cia-2.1.2-1-x86_64.pkg.tar.zst::https://www.dropbox.com/scl/fi/5twjj776t99nfew3ie17i/cia-2.1.2-1-x86_64.pkg.tar.zst?rlkey=isx4fs14t2bvyx2q7sbjdv70a&dl=0")
md5sums=('SKIP')

package(){
    mkdir -p $pkgdir/usr/share/applications
    cp -r usr $pkgdir
}

post_install() {
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
    update-desktop-database -q
}

post_upgrade() {
    post_install
}

post_remove() {
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
    update-desktop-database -q
}