Changeset View
Changeset View
Standalone View
Standalone View
package.yml
- This file was added.
| name : cerebro | |||||
| version : 0.3.2 | |||||
| release : 1 | |||||
| source : | |||||
| - https://github.com/KELiON/cerebro/archive/v0.3.2.tar.gz : c727beb2b80210c5fca990dd6693d4bc81915ae31c6739977ca5f8e8f60405a4 | |||||
| license : MIT | |||||
| component : system.utils | |||||
| summary : Open-source productivity booster with a brain | |||||
| description: | | |||||
| Open-source productivity booster with a brain | |||||
| networking : yes | |||||
| builddeps : | |||||
| - pkgconfig(alsa) | |||||
| - pkgconfig(gconf-2.0) | |||||
JoshStrobl: This should be after the pkgconfigs. | |||||
| - pkgconfig(gtk+-2.0) | |||||
| - pkgconfig(xscrnsaver) | |||||
| - pkgconfig(xtst) | |||||
| - yarn | |||||
| setup : | | |||||
| %patch -p1 < $pkgfiles/0001-linux-not-build-deb.patch | |||||
| build : | | |||||
| yarn | |||||
| pushd app | |||||
Not Done Inline ActionsYou're already in $workdir, just run yarn. JoshStrobl: You're already in `$workdir`, just run yarn. | |||||
| yarn | |||||
Not Done Inline ActionsWould prefer this be: pushd app yarn popd JoshStrobl: Would prefer this be:
```
pushd app
yarn
popd
``` | |||||
| popd | |||||
Not Done Inline ActionsCan just be yarn run package JoshStrobl: Can just be `yarn run package` | |||||
| yarn run package | |||||
| install : | | |||||
| install -dm00644 $installdir/usr/share/cerebro | |||||
Not Done Inline ActionsHave Cerebro be lowercase for consistency. JoshStrobl: Have `Cerebro` be lowercase for consistency. | |||||
| cp -R $workdir/release/linux-unpacked/* $installdir/usr/share/cerebro | |||||
Not Done Inline ActionsCan merge the flags, they shouldn't need to be separated. JoshStrobl: Can merge the flags, they shouldn't need to be separated. | |||||
| install -dm00755 $installdir/usr/bin | |||||
Not Done Inline ActionsShould change to cerebro from Cerebro as per other comment. JoshStrobl: Should change to `cerebro` from `Cerebro` as per other comment. | |||||
| ln -sv /usr/share/cerebro/cerebro $installdir/usr/bin/cerebro | |||||
| install -Dm00644 $pkgfiles/cerebro.desktop $installdir/usr/share/applications/cerebro.desktop | |||||
Not Done Inline ActionsNewline and comment not really necessary. It's pretty obvious. JoshStrobl: Newline and comment not really necessary. It's pretty obvious. | |||||
Not Done Inline Actions-D -m 00644 can just be -Dm00644 JoshStrobl: `-D -m 00644` can just be `-Dm00644` | |||||
| # Install icons | |||||
| for size in 16 32 48 128 256 512 1024; do | |||||
| install -Dm00644 $workdir/build/icons/${size}x${size}.png \ | |||||
| $installdir/usr/share/icons/hicolor/${size}x${size}/apps/cerebro.png | |||||
Not Done Inline Actions-D -m 00644 can just be -Dm00644 JoshStrobl: `-D -m 00644` can just be `-Dm00644` | |||||
| done | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
This should be after the pkgconfigs.