diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..41f9de86af7b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = ttf-inupiaqnumbers-git + pkgdesc = A font for displaying Inupiaq numerals. + pkgver = r5.69d01c0 + pkgrel = 1 + url = https://github.com/0xcf843ecf802c722f434d56/inupiaqnumbers + arch = any + license = MIT + source = git+https://github.com/0xcf843ecf802c722f434d56/inupiaqnumbers.git + sha1sums = SKIP + +pkgname = ttf-inupiaqnumbers-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e4c1fed59f0b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Oliver Hattshire <hattshire at gmail dot com> +# Author: 0xcf843ecf802c722f434d56 +_basename=inupiaqnumbers +_pkgbase=ttf-${_basename} +pkgname=${_pkgbase}-git +pkgver=r5.69d01c0 +pkgrel=1 +pkgdesc='A font for displaying Inupiaq numerals.' +url="https://github.com/0xcf843ecf802c722f434d56/${_basename}" +license=('MIT') +arch=('any') +depends=() +makedepends=() +optdepends=() +provides=() +source=("git+https://github.com/0xcf843ecf802c722f434d56/${_basename}.git") +sha1sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_basename}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${srcdir}/${_basename}" + find . -iname '*.ttf' -execdir install -Dm644 {} $pkgdir/usr/share/fonts/TTF/{} \; +} |