diff options
author | Caleb Maclennan | 2018-09-01 17:09:36 +0300 |
---|---|---|
committer | Caleb Maclennan | 2018-09-01 17:09:36 +0300 |
commit | 49dc57a1931e7df8d410ae49f793eea2bab5dde7 (patch) | |
tree | 56a4d531670f0e71fa79855b18908964db39de8e | |
parent | c906919c1a4a7fe038b9d530ec5fce19b621ef2c (diff) | |
download | aur-49dc57a1931e7df8d410ae49f793eea2bab5dde7.tar.gz |
Remove post_install() function obsoleted by pacman hooks
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 3 insertions, 20 deletions
@@ -3,7 +3,7 @@ pkgname=otf-bravura pkgver=1.204 pkgrel=2 -pkgdesc="an SMuFL compliant music font designed by Daniel Spreadbury at Steinberg" +pkgdesc='an SMuFL compliant music font designed by Daniel Spreadbury at Steinberg' arch=('any') url="http://www.smufl.org/fonts/" license=('OFL') @@ -11,24 +11,7 @@ depends=('fontconfig' 'xorg-font-utils') source=("http://www.smufl.org/files/bravura-$pkgver.zip") sha256sums=('d9e13fa8be3185169ae761eee684ed3d1a6f2f32b7b861186da3610e462f0ee7') -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" - find . -name 'Bravura*.otf' -execdir install -Dm644 {} "$pkgdir"/usr/share/fonts/OTF/{} \; - install -Dm644 "OFL.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd "otf" + install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" *.otf } |