summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Swanson2017-03-30 15:13:49 -0700
committerMike Swanson2017-03-30 15:13:49 -0700
commitd80b191e180d4c73e6c4934b5dc452f46fdd5050 (patch)
tree814e919a4385227bd3d68b42bfd50e38711f7ad1
parent072d5bf702aedf3ab2ba4ab6ddc8c97396bd7394 (diff)
downloadaur-emacs-nyan-mode.tar.gz
Update to 1.1.1
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD36
3 files changed, 19 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 498390aa42e..532dc305e74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,17 @@
+# Generated by mksrcinfo v8
+# Thu Mar 30 22:12:48 UTC 2017
pkgbase = emacs-nyan-mode
pkgdesc = Nyan Cat in your Emacs modeline
- pkgver = 20120517
+ pkgver = 1.1.1
pkgrel = 1
- url = http://github.com/TeMPOraL/nyan-mode/
+ epoch = 1
+ url = http://github.com/TeMPOraL/nyan-mode
install = emacs-nyan-mode.install
arch = any
license = GPL
- makedepends = git
depends = emacs
+ source = http://github.com/TeMPOraL/nyan-mode/archive/v1.1.1.tar.gz
+ sha512sums = 9685c5dcb2f3125e1b00fa2be5a9bd2a27e596fa6b4a0501d0a4ed99a445749f88b00be7a5a8fd2afa217a023d1335cfcab79c6fb13b4e9eeef28032050d14f5
pkgname = emacs-nyan-mode
diff --git a/.gitignore b/.gitignore
index d727fb45d4d..665307854be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*.pkg.tar*
*.src.tar*
+*.gz
src
pkg
diff --git a/PKGBUILD b/PKGBUILD
index 37599598c83..9fd40314b88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,28 @@
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=emacs-nyan-mode
-pkgver=20120517
+pkgver=1.1.1
pkgrel=1
+epoch=1
pkgdesc="Nyan Cat in your Emacs modeline"
arch=('any')
-url="http://github.com/TeMPOraL/nyan-mode/"
+url="http://github.com/TeMPOraL/nyan-mode"
license=('GPL')
depends=('emacs')
-makedepends=('git')
install=emacs-nyan-mode.install
-
-_gitroot=git://github.com/TeMPOraL/nyan-mode.git
-_gitname=nyan-mode
+source=("$url/archive/v${pkgver}.tar.gz")
+sha512sums=('9685c5dcb2f3125e1b00fa2be5a9bd2a27e596fa6b4a0501d0a4ed99a445749f88b00be7a5a8fd2afa217a023d1335cfcab79c6fb13b4e9eeef28032050d14f5')
build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
-
- cd "$srcdir/$_gitname"
+ cd "$srcdir/${pkgname/emacs-/}-${pkgver}"
emacs -batch -f batch-byte-compile nyan-mode.el
}
package() {
- cd "$srcdir/$_gitname"
- install -d $pkgdir/usr/share/emacs/site-lisp
- cp -a $srcdir/$_gitname/*.el* $srcdir/$_gitname/img $pkgdir/usr/share/emacs/site-lisp
-}
+ cd "$srcdir/${pkgname/emacs-/}-${pkgver}"
-# vim:set ts=2 sw=2 et:
+ install -Dm444 *.el* -t "$pkgdir/usr/share/emacs/site-lisp"
+ install -Dm444 img/* -t "$pkgdir/usr/share/emacs/site-lisp/img"
+ install -Dm444 mus/* -t "$pkgdir/usr/share/emacs/site-lisp/mus"
+}