summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Frilling2016-04-19 13:11:08 +0200
committerTobias Frilling2016-04-19 13:11:08 +0200
commit076c16f196b38d14bd737331554bd150d3d7cd2a (patch)
treeb7769f45e290559e7d364764b0212053417c5a0f
parent313dc804f47b410fb284182ef6f8f687e0b36022 (diff)
downloadaur-076c16f196b38d14bd737331554bd150d3d7cd2a.tar.gz
Download from release, not master branch
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD17
2 files changed, 11 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae51fad49c7b..b15814ee93f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Apr 19 10:56:46 UTC 2016
+# Tue Apr 19 11:10:56 UTC 2016
pkgbase = leiningen
pkgdesc = Automating Clojure projects without setting your hair on fire.
pkgver = 2.6.1
- pkgrel = 2
+ pkgrel = 3
epoch = 1
url = https://github.com/technomancy/leiningen
install = leiningen.install
@@ -14,12 +14,10 @@ pkgbase = leiningen
optdepends = rlwrap: for readline support
optdepends = leiningen-completions: completion scripts
noextract = leiningen-2.6.1-standalone.zip
- source = https://raw.github.com/technomancy/leiningen/f9a464e008214941e93c046413004517325818bb/bin/lein-pkg
- source = https://raw.github.com/technomancy/leiningen/f9a464e008214941e93c046413004517325818bb/doc/lein.1
+ source = https://github.com/technomancy/leiningen/archive/2.6.1.tar.gz
source = https://github.com/technomancy/leiningen/releases/download/2.6.1/leiningen-2.6.1-standalone.zip
source = https://github.com/technomancy/leiningen/releases/download/2.6.1/leiningen-2.6.1-standalone.zip.asc
- sha256sums = e84d15b45871fdb0308fec85786d6df8aefcc51482efa299086aad6706cdb1d9
- sha256sums = fda89b8383c9df97c007fcf6b7ef045cf357bd660db03400a96ef14996a3d580
+ sha256sums = 9e6a6c7b6e032921a37d5be8fcdc2c0288d3698f759e22bdd29de4eb327ebeab
sha256sums = d70078fba85d5f405d042a6d7bad3a1e5b4aafae565c2d581feb999e95ae6394
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 08e0164fe2b7..9e89af6a195b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=leiningen
pkgver=2.6.1
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc="Automating Clojure projects without setting your hair on fire."
arch=('any')
@@ -13,23 +13,20 @@ optdepends=('rlwrap: for readline support'
'leiningen-completions: completion scripts')
install="leiningen.install"
-_commit="f9a464e008214941e93c046413004517325818bb"
-source=("https://raw.github.com/technomancy/leiningen/${_commit}/bin/lein-pkg"
- "https://raw.github.com/technomancy/leiningen/${_commit}/doc/lein.1"
+source=("${url}/archive/${pkgver}.tar.gz"
"${url}/releases/download/${pkgver}/leiningen-${pkgver}-standalone.zip"
"${url}/releases/download/${pkgver}/leiningen-${pkgver}-standalone.zip.asc")
noextract=("leiningen-${pkgver}-standalone.zip")
package() {
- cd ${srcdir}
- install -m 755 -D lein-pkg ${pkgdir}/usr/bin/lein
- install -D lein.1 ${pkgdir}/usr/share/man/man1/lein.1
- install -D leiningen-${pkgver}-standalone.zip \
+ cd ${srcdir}/leiningen-${pkgver}
+ install -m 755 -D bin/lein-pkg ${pkgdir}/usr/bin/lein
+ install -D doc/lein.1 ${pkgdir}/usr/share/man/man1/lein.1
+ install -D ${srcdir}/leiningen-${pkgver}-standalone.zip \
${pkgdir}/usr/share/java/leiningen-${pkgver}-standalone.jar
}
-sha256sums=('e84d15b45871fdb0308fec85786d6df8aefcc51482efa299086aad6706cdb1d9'
- 'fda89b8383c9df97c007fcf6b7ef045cf357bd660db03400a96ef14996a3d580'
+sha256sums=('9e6a6c7b6e032921a37d5be8fcdc2c0288d3698f759e22bdd29de4eb327ebeab'
'd70078fba85d5f405d042a6d7bad3a1e5b4aafae565c2d581feb999e95ae6394'
'SKIP')