summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dfd58eb1b1199a8e70b098fade346696e2b18a84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Alexander Fasching <fasching.a91@gmail.com>
pkgname=nerd-fonts-droid-sans-mono
pkgver=2.1.0
pkgrel=2
pkgdesc="Patched font Droid Sans Mono from the nerd-fonts library"
arch=("any")
url="https://github.com/ryanoasis/nerd-fonts"
license=('MIT')
provides=('nerd-fonts-droid-sans-mono')
conflicts=('nerd-fonts-git' 'nerd-fonts-complete')
groups=("nerd-fonts")
source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/DroidSansMono.zip"
        "https://github.com/ryanoasis/nerd-fonts/raw/v$pkgver/LICENSE")
sha1sums=('22534e0d28f1ac98141c4021c0cc8afee9f1cc8a'
          '92fdad3c8babc0473da5f03e41fb1151417ab386')

package() {
  find . -iname "*.otf" -not -iname "*Windows Compatible.otf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/OTF/{}" \;

  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}