diff options
author | Caleb Maclennan | 2018-09-01 17:05:49 +0300 |
---|---|---|
committer | Caleb Maclennan | 2018-09-01 17:05:49 +0300 |
commit | 75bd473637d81c38e09ffc1da82135d8919e7620 (patch) | |
tree | 2ba5ddb48e18989ef91a0aa4604a0c2b4f3ab650 /PKGBUILD | |
parent | e5c150b27ffaa84ae5f6a672b1fb4df6c49c2198 (diff) | |
download | aur-75bd473637d81c38e09ffc1da82135d8919e7620.tar.gz |
Remove post_install() function obsoleted by pacman hooks
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 3 insertions, 19 deletions
@@ -3,7 +3,7 @@ pkgname=otf-iwona pkgver=0.995 pkgrel=1 -pkgdesc="Open Type Iwona font" +pkgdesc='Open Type Iwona font' arch=('any') url="http://jmn.pl/kurier-i-iwona/" license=('CUSTOM') @@ -11,24 +11,8 @@ depends=('fontconfig' 'xorg-font-utils') source=("$pkgname-$pkgver.zip::http://jmn.pl/pliki/Iwona-otf-0_995.zip") sha256sums=('2740d5c2a5efd29fc01eaa9ba29b4bd06295c5305092f9c1cfd4366e27502caa') -post_install() { - echo -n "Updating font cache... " - fc-cache -s >/dev/null - mkfontscale /usr/share/fonts/OTF - mkfontdir /usr/share/fonts/OTF - echo "done." -} - -post_upgrade() { - post_install "$1" -} - -post_remove() { - post_install "$1" -} - package() { - cd "$srcdir/otf" - find . -maxdepth 1 -name '*.otf' -execdir install -Dm644 {} "$pkgdir"/usr/share/fonts/OTF/{} \; + cd "otf" + install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/{}" *.otf } |