mirror of
https://github.com/Phantop/solus-stuff
synced 2025-05-23 23:41:28 +00:00
Add castor
This commit is contained in:
parent
15206c629f
commit
f1289dd9cd
2
build
2
build
|
@ -4,7 +4,7 @@ function buildme
|
||||||
echo Now building (basename $argv)
|
echo Now building (basename $argv)
|
||||||
cd $argv
|
cd $argv
|
||||||
sudo solbuild build package.yml -d
|
sudo solbuild build package.yml -d
|
||||||
sudo eopkg it *.eopkg
|
sudo eopkg it --reinstall (basename $argv)*.eopkg
|
||||||
cd ..
|
cd ..
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
17
castor/files/castor-0.7.0-makefile.patch
Normal file
17
castor/files/castor-0.7.0-makefile.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Common subdirectories: castor/data and castor-makefile/data
|
||||||
|
Common subdirectories: castor/.git and castor-makefile/.git
|
||||||
|
diff -u castor/Makefile castor-makefile/Makefile
|
||||||
|
--- castor/Makefile 2020-04-24 23:57:59.119673418 +0200
|
||||||
|
+++ castor-makefile/Makefile 2020-04-24 23:58:41.033151139 +0200
|
||||||
|
@@ -29,8 +29,8 @@
|
||||||
|
# Install the data files and update the caches
|
||||||
|
install-data : copy-data
|
||||||
|
# Force icon cache refresh
|
||||||
|
- touch $(sharedir)/icons/hicolor
|
||||||
|
- update-desktop-database
|
||||||
|
+ #touch $(sharedir)/icons/hicolor
|
||||||
|
+ #update-desktop-database
|
||||||
|
|
||||||
|
# Just copy the data files, without updating caches
|
||||||
|
copy-data :
|
||||||
|
Common subdirectories: castor/src and castor-makefile/src
|
25
castor/package.yml
Normal file
25
castor/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name : castor
|
||||||
|
version : 1
|
||||||
|
release : 1
|
||||||
|
source :
|
||||||
|
- git|https://git.sr.ht/~julienxx/castor : master
|
||||||
|
license :
|
||||||
|
- ISC
|
||||||
|
component : system.utils
|
||||||
|
networking : yes
|
||||||
|
summary : A Browser for the small internet (Gemini, Gopher, Finger)
|
||||||
|
description: |
|
||||||
|
A graphical client for plain-text protocols written in Rust with GTK.
|
||||||
|
It currently supports the Gemini, Gopher and Finger protocols.
|
||||||
|
builddeps :
|
||||||
|
- pkgconfig(atk)
|
||||||
|
- pkgconfig(gdk-pixbuf-2.0)
|
||||||
|
- pkgconfig(gtk+-3.0)
|
||||||
|
- pkgconfig(pango)
|
||||||
|
- cargo
|
||||||
|
setup : |
|
||||||
|
%patch -p1 < $pkgfiles/castor-0.7.0-makefile.patch
|
||||||
|
build : |
|
||||||
|
%make
|
||||||
|
install : |
|
||||||
|
%make_install
|
|
@ -8,11 +8,9 @@ summary : Insert summary here
|
||||||
description: |
|
description: |
|
||||||
Insert description here
|
Insert description here
|
||||||
builddeps :
|
builddeps :
|
||||||
- i2c-tools
|
|
||||||
- pkgconfig(gtk+-2.0)
|
- pkgconfig(gtk+-2.0)
|
||||||
- pkgconfig(libpci)
|
- pkgconfig(libpci)
|
||||||
rundeps :
|
rundeps :
|
||||||
- i2c-tools
|
|
||||||
- pciutils
|
- pciutils
|
||||||
setup : |
|
setup : |
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
|
@ -23,5 +23,3 @@ build : |
|
||||||
cargo build --release
|
cargo build --release
|
||||||
install : |
|
install : |
|
||||||
install -Dm00755 target/release/starship $installdir/usr/bin/starship
|
install -Dm00755 target/release/starship $installdir/usr/bin/starship
|
||||||
check : |
|
|
||||||
cargo test --all
|
|
||||||
|
|
Loading…
Reference in a new issue