summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAaron Abbott2017-12-23 19:24:46 -0800
committerAaron Abbott2017-12-23 19:24:46 -0800
commitef0fdfc94ce4ea90b355a24af28d051ea321ecc5 (patch)
tree99f2e1be1e48d72f14d17d79c9f42f46922b6e40 /PKGBUILD
parent0c939645909f4d52797c0108f9cf17e4db044eee (diff)
downloadaur-ef0fdfc94ce4ea90b355a24af28d051ea321ecc5.tar.gz
Updated to canary naming scheme
This may not update correctly since the hyper devs thought it would be good to decrease the version number
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 03544704de4..2edfa45a9e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributer: auk
pkgname=hyper
-pkgver=2.1.1
+pkgver=2.0.0.canary.8
pkgrel=1
epoch=
pkgdesc="A terminal built on web technologies"
@@ -23,26 +23,29 @@ backup=()
options=()
install=
changelog=
+
+_pkgver_project=${pkgver/\.canary/-canary}
+
source=(
- "https://github.com/zeit/$pkgname/archive/${pkgver}.tar.gz"
+ "https://github.com/zeit/$pkgname/archive/${_pkgver_project}.tar.gz"
"https://raw.githubusercontent.com/zeit/art/master/hyper/mark/Hyper-Mark-120@3x.png"
"Hyper.desktop"
)
noextract=()
-md5sums=('6c0a6182c18c475dcb8bfe9cb3dfebc6'
+md5sums=('4b1acce7bdf2b3527068b286dcd8ef28'
'f3481e14cba331160339b3b5ab78872b'
'74cb7ba38e37332aa8300e4b6ba9c61c')
validpgpkeys=()
prepare() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$_pkgver_project"
# yarn is a build-dep according to the README
yarn install
}
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$_pkgver_project"
# This build command is the same as the one defined in package.json via
# npm run dist except that it doesn't build for debian, rpm, etc. and
@@ -64,7 +67,7 @@ build() {
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$_pkgver_project"
_appdir="/usr/lib/$pkgname"
_libinstall="${pkgdir}${_appdir}"