summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Abbott2016-10-10 12:37:42 -0400
committerAaron Abbott2016-10-10 12:37:42 -0400
commit0c6a723442882836963abc11468705078bdb3306 (patch)
tree3ad9dd3f0dbc3511d2b0dcc3d40aba24b9fa0b85
parent95fb72cf01d08c3da5483ba21746081b86e5a3cb (diff)
downloadaur-0c6a723442882836963abc11468705078bdb3306.tar.gz
Refactored for new package's name
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD22
2 files changed, 14 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b184c16835f..8270e08089d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Oct 10 15:59:40 UTC 2016
-pkgbase = hyperterm
+# Mon Oct 10 16:34:37 UTC 2016
+pkgbase = hyper
pkgdesc = A terminal built on web technologies
pkgver = 0.8.1
- pkgrel = 2
+ pkgrel = 1
url = https://hyper.is/
arch = any
license = MIT
@@ -11,6 +11,8 @@ pkgbase = hyperterm
makedepends = python2
depends = nodejs
depends = electron
+ conflicts = hyperterm
+ replaces = hyperterm
source = https://github.com/zeit/hyper/archive/0.8.1.tar.gz
source = https://raw.githubusercontent.com/zeit/art/master/hyper/mark/Hyper-Mark-120%403x.png
source = Hyper.desktop
@@ -18,5 +20,5 @@ pkgbase = hyperterm
md5sums = f3481e14cba331160339b3b5ab78872b
md5sums = 8ccbe8d3e3b6cdc9bc5fd4301d368d5f
-pkgname = hyperterm
+pkgname = hyper
diff --git a/PKGBUILD b/PKGBUILD
index b9d269b935b..615aa9ef334 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,9 @@
# Contributer: fleischie
# Contributer: auk
-## will rename by AUR mod
-# pkgname=hyper
-_pkgname=hyper
-
-pkgname=hyperterm
+pkgname=hyper
pkgver=0.8.1
-pkgrel=2
+pkgrel=1
epoch=
pkgdesc="A terminal built on web technologies"
arch=('any')
@@ -21,16 +17,14 @@ checkdepends=()
optdepends=()
provides=()
-## will uncomment these when an AUR mod renames this package. I can't push this
-## with the new name. Have to have it done manually.
-# conflicts=('hyperterm')
-# replaces=('hyperterm')
+conflicts=('hyperterm')
+replaces=('hyperterm')
backup=()
options=()
install=
changelog=
source=(
- "https://github.com/zeit/$_pkgname/archive/${pkgver}.tar.gz"
+ "https://github.com/zeit/$pkgname/archive/${pkgver}.tar.gz"
"https://raw.githubusercontent.com/zeit/art/master/hyper/mark/Hyper-Mark-120%403x.png"
"Hyper.desktop"
)
@@ -41,17 +35,17 @@ md5sums=('bf5575c5bcf8cbedcdf4d7118128c2cd'
validpgpkeys=()
prepare() {
- cd "$_pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
npm install
}
build() {
- cd "$_pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
npm run pack
}
package() {
- cd "$_pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
_appdir="/usr/lib/$pkgname"
_libinstall="${pkgdir}${_appdir}"