#Maintainer: Dimitris Tzemos pkgname=qcontrolcenter pkgver=0.3 pkgrel=3dj arch=noarch source=("https://github.com/djemos/qControlCenter/archive/refs/heads/master.zip" "qcontrolcenter.desktop") options=('noautodotnew' 'nosrcpack') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "qcontrolcenter (Easily customizable Control Center)" "qControlCenter has been written initially by Thierry Deseez." "qControlCenter lets you easily and quickly build a control" "center for your distribution." "This can be useful if you don't like the control center of your" "distribution, or if you distribution doesn't have any." ) build() { mv $startdir/src/qControlCenter-master/$pkgname $startdir/src/$pkgname cd $startdir/src/$pkgname mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver $startdir/pkg/usr/share/applications $startdir/pkg/usr/bin $startdir/pkg/usr/share/qcontrolcenter cp -r $startdir/src/$pkgname/data/{INSTRUCTIONS.txt,LICENSE.html} $startdir/pkg/usr/doc/$pkgname-$pkgver/ cp -r $startdir/src/$pkgname/data/{INSTRUCTIONS.txt,LICENSE.html} $startdir/pkg/usr/share/qcontrolcenter/ cp $startdir/src/$pkgname/qcontrolcenter.py $startdir/pkg/usr/bin/ cp $startdir/src/$pkgname/helpDialog.py $startdir/pkg/usr/bin/ cp $startdir/src/$pkgname/errorDialog.py $startdir/pkg/usr/bin/ cp $startdir/src/qcontrolcenter.desktop $startdir/pkg/usr/share/applications cp -r $startdir/src/qcontrolcenter/icons $startdir/pkg/usr/share/qcontrolcenter/ chown -R root:root $startdir/pkg/ }