welcome-app/PKGBUILD
2023-08-17 14:19:01 +02:00

34 lines
1.1 KiB
Bash

# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-welcome-app
pkgver=1.0
pkgrel=4
pkgdesc="Welcome app for TROMjaro OS"
arch=(any)
url=""
license=(unknown)
depends=('tromjaro-fixes'
'tromjaro-layout-switcher'
'tromjaro-theme-switcher'
'tblock-gui')
provides=('tromjaro-welcome-app')
backup=()
options=(!strip)
source=()
sha256sums=()
prepare() {
cp -R ../*.png ../*.svg ../welcome.py ../tromjaro-welcome-app.desktop .
}
package() {
install -d ${pkgdir}/usr/share/tromjaro-welcome-app
install -Dm644 ${srcdir}/*.png ${pkgdir}/usr/share/tromjaro-welcome-app
install -Dm644 ${srcdir}/*.svg ${pkgdir}/usr/share/tromjaro-welcome-app
install -Dm755 ${srcdir}/welcome.py ${pkgdir}/usr/share/tromjaro-welcome-app
install -d ${pkgdir}/usr/bin
ln -s /usr/share/tromjaro-welcome-app/welcome.py ${pkgdir}/usr/bin/tromjaro-welcome-app
install -d ${pkgdir}/usr/share/applications
install -Dm644 ${srcdir}/tromjaro-welcome-app.desktop ${pkgdir}/usr/share/applications
}