welcome-app/PKGBUILD

31 lines
1.0 KiB
Bash

# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-welcome-app
pkgver=1.0
pkgrel=3
pkgdesc="Welcome app for TROMjaro OS"
arch=(any)
url=""
license=(unknown)
depends=()
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
}