summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 6 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b34c623271af..b750e95beabf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,17 @@
-# Maintainer: Poscat <poscat@mail.poscat.moe>
+# Contributor: Poscat <poscat@mail.poscat.moe>
pkgname=emacs-onedark-theme-git
-pkgver=r154.623fc08
+pkgver=r160.b34b62e
pkgrel=1
pkgdesc="An Emacs port of the Atom One Dark theme."
-arch=('x86_64')
+arch=('any')
url="https://github.com/jonathanchu/atom-one-dark-theme"
-license=('GPL3')
+license=('GPL-3.0-or-later')
provides=('emacs-onedark-theme')
-conflicts=()
+conflicts=('emacs-onedark-theme')
makedepends=('git')
depends=('emacs')
-source=("${pkgname}::git://github.com/jonathanchu/atom-one-dark-theme")
-noextract=()
+source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
@@ -20,15 +19,6 @@ pkgver() {
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"