welcome-app/PKGBUILD

34 lines
1.1 KiB
Bash
Raw Normal View History

2023-08-11 21:11:24 +00:00
# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-welcome-app
pkgver=1.0
2023-08-17 12:19:01 +00:00
pkgrel=4
2023-08-11 21:11:24 +00:00
pkgdesc="Welcome app for TROMjaro OS"
arch=(any)
url=""
license=(unknown)
2023-08-17 12:19:01 +00:00
depends=('tromjaro-fixes'
'tromjaro-layout-switcher'
'tromjaro-theme-switcher'
'tblock-gui')
2023-08-11 21:11:24 +00:00
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
2023-08-11 21:38:20 +00:00
ln -s /usr/share/tromjaro-welcome-app/welcome.py ${pkgdir}/usr/bin/tromjaro-welcome-app
2023-08-11 21:11:24 +00:00
install -d ${pkgdir}/usr/share/applications
install -Dm644 ${srcdir}/tromjaro-welcome-app.desktop ${pkgdir}/usr/share/applications
}