diff options
author | Marcus Andersson | 2018-04-02 13:31:21 +0200 |
---|---|---|
committer | Marcus Andersson | 2018-04-02 13:31:21 +0200 |
commit | 135d8e17a70e3a663ec7b8c7c0e0f86c420e4418 (patch) | |
tree | b90f1707f2ec243dfa827b645a887f8c72249dbb | |
parent | d2265712497b8667a8beaed11957dc36d940de40 (diff) | |
download | aur-135d8e17a70e3a663ec7b8c7c0e0f86c420e4418.tar.gz |
Fix symbolic link in conf.d
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = icons-in-terminal pkgdesc = Icon fonts in terminal without a need for replacing or patching existing pkgver = r93.b12286d - pkgrel = 1 + pkgrel = 2 url = https://github.com/sebastiencs/icons-in-terminal arch = any license = custom:MIT @@ -2,7 +2,7 @@ pkgname=icons-in-terminal pkgver=r93.b12286d -pkgrel=1 +pkgrel=2 pkgdesc="Icon fonts in terminal without a need for replacing or patching existing" url="https://github.com/sebastiencs/icons-in-terminal" arch=('any') @@ -41,7 +41,11 @@ package() { install -m644 build/* "${pkgdir}"/etc/icons-in-terminal/ install -m755 print_icons.sh "${pkgdir}"/usr/bin/icons-in-terminal - ln -s "${pkgdir}"/etc/fonts/conf.avail/30-"$pkgname".conf "${pkgdir}"/etc/fonts/conf.d/ + pushd "${pkgdir}"/etc/fonts/conf.avail + for config in *; do + ln -sf ../conf.avail/${config} ../conf.d/${config} + done + popd install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE install='icons-in-terminal.install' |