diff options
author | frederik | 2019-10-31 16:34:56 +0100 |
---|---|---|
committer | frederik | 2019-10-31 16:34:56 +0100 |
commit | 523e0a0608f6db1615aad454a573599d755a5101 (patch) | |
tree | a57770d6e715c564c73d4f48419d9fb0ef7000d6 | |
parent | d5846fbc6a09302c8bec73a3b7d85b5ffe56e8e4 (diff) | |
download | aur-523e0a0608f6db1615aad454a573599d755a5101.tar.gz |
ttf-ubraille: PKGBUILD review by svenstaro
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | install | 13 |
3 files changed, 6 insertions, 25 deletions
@@ -1,15 +1,12 @@ pkgbase = ttf-ubraille pkgdesc = Unicode Braillt font pkgver = 001.000 - pkgrel = 9 + pkgrel = 10 url = http://yudit.org/download/fonts/UBraille/ - install = install arch = any license = GPL - depends = xorg-fonts-encodings - depends = xorg-fonts-alias - depends = xorg-font-utils depends = fontconfig + depends = xorg-font-utils source = http://yudit.org/download/fonts/UBraille/UBraille.ttf sha256sums = 4bdec13f35920a29cfe729946018e6c1695a8074a91882a62244e428f3ffe122 @@ -5,19 +5,16 @@ pkgname=ttf-ubraille pkgver=001.000 -pkgrel=9 +pkgrel=10 pkgdesc='Unicode Braillt font' url='http://yudit.org/download/fonts/UBraille/' arch=('any') license=('GPL') -depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') +depends=('fontconfig' 'xorg-font-utils') source=("http://yudit.org/download/fonts/UBraille/UBraille.ttf") sha256sums=('4bdec13f35920a29cfe729946018e6c1695a8074a91882a62244e428f3ffe122') -install=install - package() { - cd ${srcdir} - install -d ${pkgdir}/usr/share/fonts/TTF - install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF/ + install -d "${pkgdir}"/usr/share/fonts/TTF + install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF/ } diff --git a/install b/install deleted file mode 100644 index a2d23dea6b83..000000000000 --- a/install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - fc-cache -s > /dev/null - mkfontscale usr/share/fonts/TTF - mkfontdir usr/share/fonts/TTF -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |