diff --git a/icons-in-terminal/.footprint b/icons-in-terminal/.footprint new file mode 100644 index 000000000..c05235b43 --- /dev/null +++ b/icons-in-terminal/.footprint @@ -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 diff --git a/icons-in-terminal/.signature b/icons-in-terminal/.signature new file mode 100644 index 000000000..0207cdd86 --- /dev/null +++ b/icons-in-terminal/.signature @@ -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 diff --git a/icons-in-terminal/Pkgfile b/icons-in-terminal/Pkgfile new file mode 100644 index 000000000..8260f4396 --- /dev/null +++ b/icons-in-terminal/Pkgfile @@ -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 +}