blob: f2a9b38b8f606053b2274c64c64b99b658aadd46 (
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
|
# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>
pkgname=emacs-all-the-icons
pkgver=2.5.0
pkgrel=2
pkgdesc="A utility package to collect various Icon Fonts and propertize them within Emacs."
url="https://github.com/domtronn/all-the-icons.el"
arch=('any')
license=('MIT')
depends=('emacs' 'emacs-font-lock-plus' 'ttf-font-awesome' 'ttf-material-design-icons' 'ttf-weather-icons' 'ttf-octicons' 'ttf-atom-file-icons' 'ttf-all-the-icons')
makedepends=('git')
provides=('emacs-all-the-icons')
source=("https://github.com/domtronn/all-the-icons.el/archive/${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd "${srcdir}/all-the-icons.el-${pkgver}"
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
emacs -q --no-splash -batch -L . -f batch-byte-compile data/*.el
}
package() {
cd "${srcdir}/all-the-icons.el-${pkgver}"
install -d "${pkgdir}/usr/share/emacs/site-lisp/all-the-icons"
install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/all-the-icons/"
mkdir ${pkgdir}/usr/share/emacs/site-lisp/all-the-icons/data/
install -D -m644 data/* "${pkgdir}/usr/share/emacs/site-lisp/all-the-icons/data/"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|