forked from ports/contrib
icons-in-terminal: initial commit, version 20170727
This commit is contained in:
parent
3de7035f9e
commit
94c39e3e60
19
icons-in-terminal/.footprint
Normal file
19
icons-in-terminal/.footprint
Normal file
@ -0,0 +1,19 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/fonts/
|
||||
drwxr-xr-x root/root etc/fonts/conf.avail/
|
||||
-rw-r--r-- root/root etc/fonts/conf.avail/30-icons-in-terminal.conf
|
||||
drwxr-xr-x root/root etc/fonts/conf.d/
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/icons-in-terminal
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/fonts/
|
||||
drwxr-xr-x root/root usr/share/fonts/TTF/
|
||||
-rw-r--r-- root/root usr/share/fonts/TTF/icons-in-terminal.ttf
|
||||
drwxr-xr-x root/root usr/share/icons-in-terminal/
|
||||
-rw-r--r-- root/root usr/share/icons-in-terminal/icons-in-terminal.el
|
||||
-rw-r--r-- root/root usr/share/icons-in-terminal/icons-in-terminal.h
|
||||
-rw-r--r-- root/root usr/share/icons-in-terminal/icons_bash.sh
|
||||
-rw-r--r-- root/root usr/share/icons-in-terminal/icons_bash_export.sh
|
||||
-rw-r--r-- root/root usr/share/icons-in-terminal/icons_bash_without_codepoint.sh
|
||||
-rw-r--r-- root/root usr/share/icons-in-terminal/mapping.txt
|
5
icons-in-terminal/.signature
Normal file
5
icons-in-terminal/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39GV5ytcjXOIFXZgkEqJWPJR2KAU1GAo+D/wWICHpKrCVMNrldaQESngeJBW3Gso0b5P3JhWHsjv+RRykJPVyA8=
|
||||
SHA256 (Pkgfile) = 2f5f1277c373e7e71739dbc1a52757ea6267dc02468476c8481d2871c44b312e
|
||||
SHA256 (.footprint) = b6de9c3413b99daca98666d745bf2a6364eaeb0cfea42f38855461e72c0ac1de
|
||||
SHA256 (icons-in-terminal-20170727.tar.gz) = 23179a6f8eb1de106488217ad3f55b008be763487a4ba88bbb5edc843dfc0d4a
|
28
icons-in-terminal/Pkgfile
Normal file
28
icons-in-terminal/Pkgfile
Normal file
@ -0,0 +1,28 @@
|
||||
# Description: Use any fonts in the terminal without replacing or patching
|
||||
# URL: https://github.com/sebastiencs/icons-in-terminal
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: fontconfig
|
||||
|
||||
name=icons-in-terminal
|
||||
version=20170727
|
||||
release=1
|
||||
_commit=b12286d0d8bf9793a1599a737faa4d64435193f1
|
||||
source=(https://github.com/sebastiencs/icons-in-terminal/archive/$_commit/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$_commit
|
||||
sed -i 's filename="./build/mapping.txt" filename="/usr/share/icons-in-terminal/mapping.txt" ' \
|
||||
print_icons.sh
|
||||
./scripts/generate_fontconfig.sh > "30-$name.conf"
|
||||
install -dm755 $PKG/usr/share/$name
|
||||
install -Dm644 build/$name.ttf $PKG/usr/share/fonts/TTF/$name.ttf
|
||||
install -Dm755 print_icons.sh $PKG/usr/bin/$name
|
||||
|
||||
find build/ -type f ! \( -name "*.ttf" -o -name "*fish" \) -exec install -m644 {} "$PKG/usr/share/$name/" \;
|
||||
|
||||
install -dm755 $PKG/etc/fonts/conf.{avail,d}
|
||||
install -Dm644 "30-$name.conf" $PKG/etc/fonts/conf.avail
|
||||
|
||||
# enable if you want, nnn shouldn't need it
|
||||
#ln -rs $PKG/etc/fonts/conf.avail/30-$name.conf $PKG/etc/fonts/conf.d/30-$name.conf
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user