Add castor

This commit is contained in:
Phantop 2020-12-05 19:07:05 -05:00
parent 15206c629f
commit f1289dd9cd
5 changed files with 43 additions and 5 deletions

2
build
View File

@ -4,7 +4,7 @@ function buildme
echo Now building (basename $argv)
cd $argv
sudo solbuild build package.yml -d
sudo eopkg it *.eopkg
sudo eopkg it --reinstall (basename $argv)*.eopkg
cd ..
end

View 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
View 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

View File

@ -8,11 +8,9 @@ summary : Insert summary here
description: |
Insert description here
builddeps :
- i2c-tools
- pkgconfig(gtk+-2.0)
- pkgconfig(libpci)
rundeps :
- i2c-tools
- pciutils
setup : |
./autogen.sh

View File

@ -23,5 +23,3 @@ build : |
cargo build --release
install : |
install -Dm00755 target/release/starship $installdir/usr/bin/starship
check : |
cargo test --all