summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBet42020-03-14 19:31:42 +0800
committerBet42020-03-14 19:31:42 +0800
commitaaadf7231ff133fe40bdd65843b1128c9773c460 (patch)
treee460cb8f0c2d14b4d7b8a7c58ffaf7024ea613ea /PKGBUILD
parent152ba4eddb8a7d3e7979790354e142dbe37263b6 (diff)
downloadaur-aaadf7231ff133fe40bdd65843b1128c9773c460.tar.gz
Change install dir from hyper-git to hyper
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 013ce32b9037..442c9e43eaa5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
_pkgname=hyper
pkgname=${_pkgname}-git
-pkgver=3.1.0.canary.4.r28.g039b90aa
+pkgver=3.1.0.canary.4.r48.gb0002bbe
pkgrel=1
pkgdesc="A terminal built on web technologies"
arch=('any')
@@ -68,15 +68,15 @@ build() {
package() {
cd "$pkgname"
- _appdir="/usr/lib/$pkgname"
- _libinstall="${pkgdir}${_appdir}"
+ _appdir="/usr/lib/$_pkgname"
+ _libinstall="$pkgdir$_appdir"
mkdir -p "$pkgdir/usr/bin" "$_libinstall"
cp -R dist/linux-unpacked/* "$_libinstall"
# link the binary to /usr/bin
cd $pkgdir/usr/bin
- ln -s "../lib/$pkgname/resources/bin/hyper" hyper
+ ln -s "../lib/$_pkgname/resources/bin/hyper" hyper
install -Dm644 "$srcdir/Hyper.desktop" "$pkgdir/usr/share/applications/Hyper.desktop"
install -Dm644 "$srcdir/Hyper-Mark-120@3x.png" "$pkgdir/usr/share/pixmaps/hyper.png"