Moved out .install and PKGBUILD

Signed-off-by: Stefano Capitani's avatarSte74 <stefano@manjaro.org>
parent ea8b6a9c
# Maintainer: Stefano Capitani <stefano_at_manjaro_dot_org>
pkgname=manjaro-software-install-tool
pkgver=0.1
pkgrel=1
pkgdesc="A tool to quickly install software in Manjaro Linux"
arch=('any')
license=('GPL')
url=https://gitlab.manjaro.org/ste74/manjaro-software-install-tools
depends=('python' 'papirus-maia-icon-theme' 'gksu-polkit' 'manjaro-hello')
makedepends=('git')
source=("$pkgname::git+$url.git")
md5sums=('SKIP')
install=manj.install
package() {
cd $srcdir/$pkgname
make DESTDIR="${pkgdir}" install
}
post_install() {
echo "Add to manjaro-hello.desktop"
sed -i -e '7d' /etc/skel/.config/autostart/manjaro-hello.desktop
echo "Exec='/usr/bin/manjaro-hello && /usr/bin/manjaro-software-install-tool.py'" >> /etc/skel/.config/autostart/manjaro-hello.desktop
sed -i -e '7d' /usr/share/applications/manjaro-hello.desktop
echo "Exec='/usr/bin/manjaro-hello && /usr/bin/manjaro-software-install-tool.py'" >> /usr/share/applications/manjaro-hello.desktop
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment