diff options
author | Étienne Deparis | 2021-11-02 11:40:57 +0100 |
---|---|---|
committer | Étienne Deparis | 2021-11-02 11:40:57 +0100 |
commit | e26164d55ae3e77f13590945281988dd19dee491 (patch) | |
tree | 452b8397f20fcfdceb54b96c0f0f0312f6b194ea | |
download | aur-e26164d55ae3e77f13590945281988dd19dee491.tar.gz |
1.000r5.57fadab-1
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cc90d948a265 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by makepkg 6.0.1 +# Tue Nov 2 10:40:31 UTC 2021 +pkgbase = ttf-dm-mono-git + pkgdesc = A three weight, three style family designed for DeepMind. + pkgver = 1.000r5.57fadab + pkgrel = 1 + url = https://github.com/googlefonts/dm-mono + arch = any + license = OTF + makedepends = git + depends = fontconfig + provides = ttf-dm-mono + conflicts = ttf-dm-mono + source = git+https://github.com/googlefonts/dm-mono.git + md5sums = SKIP + +pkgname = ttf-dm-mono-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..220e3dac8c9a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Étienne Deparis <etienne@depar.is> +pkgname=ttf-dm-mono-git +_pkgname=ttf-dm-mono +pkgver=1.000r5.57fadab +pkgrel=1 +pkgdesc="A three weight, three style family designed for DeepMind." +arch=("any") +url="https://github.com/googlefonts/dm-mono" +license=("OTF") +depends=(fontconfig) +makedepends=("git") +source=("git+https://github.com/googlefonts/dm-mono.git") +md5sums=("SKIP") +provides=("ttf-dm-mono") +conflicts=("ttf-dm-mono") + +pkgver() { + cd $srcdir/dm-mono + printf "1.000r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd $srcdir/dm-mono + install -d -m755 "$pkgdir/usr/share/licenses/$_pkgname" + install -D -m644 README.md "$pkgdir/usr/share/licenses/$_pkgname/README.md" + install -D -m644 AUTHORS.txt "$pkgdir/usr/share/licenses/$_pkgname/AUTHORS.txt" + install -D -m644 CONTRIBUTORS.txt "$pkgdir/usr/share/licenses/$_pkgname/CONTRIBUTORS.txt" + + install -d -m755 "$pkgdir/usr/share/fonts/TTF" + install -D -m644 exports/*.ttf "$pkgdir/usr/share/fonts/TTF/" +} |