diff options
author | Alex Whitt | 2017-05-03 15:36:09 -0400 |
---|---|---|
committer | Alex Whitt | 2017-05-03 15:36:09 -0400 |
commit | 9d08db3a4221d8ff2059ff0e516497ec3e3bc01b (patch) | |
tree | 5e86007a64cc3eec4c5524c0a6ed8dde7e857831 /PKGBUILD | |
download | aur-9d08db3a4221d8ff2059ff0e516497ec3e3bc01b.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ebda2fdd430f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com> + +_pkgsrcname=atom +_pkgmaintainer=file-icons +_pkgdestdirname=atom-file-icons +_versionprefix=v +pkgver=2.1.4 +pkgrel=1 +pkgdesc="Atom file-specific icons for improved visual grepping." +pkgname=ttf-${_pkgdestdirname} +arch=(any) +url="https://atom.io/packages/file-icons" +license=('MIT') +depends=('emacs') +makedepends=('woff2-git') +source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/${_versionprefix}${pkgver}.tar.gz") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${_pkgsrcname}-${pkgver}/fonts/" + woff2_decompress file-icons.woff2 +} + +package() { + cd "${srcdir}/${_pkgsrcname}-${pkgver}/" + install -d $pkgdir/usr/share/fonts/TTF/ + install -m644 fonts/${_pkgdestdirname}.ttf "$pkgdir/usr/share/fonts/TTF/${_pkgdestdirname}.ttf" + install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |