blob: 3fb1b2e5f9a9971c05aac292e9a935ef49afa7c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Elliott Seymour <rensenware at protonmail dot com>
# Contributer: Jack Johannesen
pkgname=ttf-material-design-icons-extended
pkgver=7.4.47
pkgrel=1
pkgdesc="A Material Design icons font by the guys over at materialdesignicons.com"
arch=('any')
url="https://materialdesignicons.com/"
license=('custom:PFL')
depends=()
makedepends=()
provides=()
conflicts=('ttf-material-design-icons')
source=("https://cdn.jsdelivr.net/npm/@mdi/font@${pkgver}/fonts/materialdesignicons-webfont.ttf"
'https://raw.githubusercontent.com/Templarian/MaterialDesign/master/LICENSE')
noextract=('materialdesignicons-webfont.ttf' 'LICENSE')
md5sums=('6e435534bd35da5fef04168860a9b8fa'
'fdfe43d7d0cb0cd53fc1f61411899167')
build() {
# Rename the ttf file to something more sensible for installation.
rename \
$srcdir/materialdesignicons-webfont.ttf \
$srcdir/material-design-icons-extended.ttf \
$srcdir/materialdesignicons-webfont.ttf
}
package() {
# Install the LICENSE.
install \
-Dm644 \
$srcdir/LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE";
# Install the ttf file.
install \
-Dm644 \
$srcdir/material-design-icons-extended.ttf \
"$pkgdir/usr/share/fonts/TTF/material-design-icons-extended.ttf";
}
|