blob: b34c623271afa22e3e53f2e474ba7d55a1258252 (
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
33
34
35
|
# Maintainer: Poscat <poscat@mail.poscat.moe>
pkgname=emacs-onedark-theme-git
pkgver=r154.623fc08
pkgrel=1
pkgdesc="An Emacs port of the Atom One Dark theme."
arch=('x86_64')
url="https://github.com/jonathanchu/atom-one-dark-theme"
license=('GPL3')
provides=('emacs-onedark-theme')
conflicts=()
makedepends=('git')
depends=('emacs')
source=("${pkgname}::git://github.com/jonathanchu/atom-one-dark-theme")
noextract=()
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${pkgname}"
git submodule update --init
}
build() {
cd "${srcdir}/${pkgname}"
}
package() {
cd "${srcdir}/${pkgname}"
install -D -m 644 atom-one-dark-theme.el "${pkgdir}/usr/share/emacs/site-lisp/onedark-theme/atom-one-dark-theme.el"
}
|