summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2019-10-31 16:34:56 +0100
committerfrederik2019-10-31 16:34:56 +0100
commit523e0a0608f6db1615aad454a573599d755a5101 (patch)
treea57770d6e715c564c73d4f48419d9fb0ef7000d6
parentd5846fbc6a09302c8bec73a3b7d85b5ffe56e8e4 (diff)
downloadaur-523e0a0608f6db1615aad454a573599d755a5101.tar.gz
ttf-ubraille: PKGBUILD review by svenstaro
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD11
-rw-r--r--install13
3 files changed, 6 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 21e3d0318476..40c373d4a02b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 06dce38df474..5951dd4d45e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
-}