Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
Update manjarin-theme and update hyper to last stable
Browse files Browse the repository at this point in the history
Signed-off-by: Ste74 <stefano@manjaro.org>
  • Loading branch information
Ste74 committed Apr 30, 2018
1 parent 67f42ff commit 3fbc603
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 71 deletions.
66 changes: 2 additions & 64 deletions hyper/PKGBUILD
Expand Up @@ -4,26 +4,16 @@
# Contributer: auk

pkgname=hyper
pkgver=2.0.0.canary.11
pkgver=2.0.0
pkgrel=1
epoch=1
pkgdesc="A terminal built on web technologies"
arch=('any')
url="https://hyper.is/"
license=('MIT')
groups=()
depends=('nodejs' 'electron' 'gconf' 'gtk2')
makedepends=('npm' 'yarn' 'python2')
checkdepends=()
optdepends=()
provides=()

conflicts=('hyperterm')
replaces=('hyperterm')
backup=()
options=()
install=
changelog=

_pkgver_project=${pkgver/\.canary/-canary}

Expand All @@ -32,62 +22,10 @@ source=(
"https://raw.githubusercontent.com/zeit/art/master/hyper/mark/Hyper-Mark-120@3x.png"
"Hyper.desktop"
)
noextract=()
md5sums=('c02e9037fc8e829aa8a7a8135f9771b7'
md5sums=('02e48495d91da10a8e010fe37f754e42'
'f3481e14cba331160339b3b5ab78872b'
'74cb7ba38e37332aa8300e4b6ba9c61c')
validpgpkeys=()

prepare() {
cd "$pkgname-$_pkgver_project"

# yarn is a build-dep according to the README
yarn install
}

build() {
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
# doesn't require some other dependencies

# add node_modules binaries to PATH
oldpath=$PATH
PATH=$(pwd)/node_modules/.bin:$PATH

npm run build &&
cross-env BABEL_ENV=production babel \
--out-file app/renderer/bundle.js \
--no-comments \
--minified app/renderer/bundle.js &&
command build --linux --dir # need to use command because the
# function name is build

PATH=$oldpath
}

package() {
cd "$pkgname-$_pkgver_project"

_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/hyper" hyper

# # TODO: remove included electron libs and use the system ones by symlink
# cd "$_libinstall"
# rm libnode.so libffmpeg.so
# ln -s /usr/share/electron/lib{node,ffmpeg}.so .

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"
}
prepare() {
cd "$pkgname-$_pkgver_project"

Expand Down
15 changes: 8 additions & 7 deletions manjarin-gtk-theme/PKGBUILD
@@ -1,22 +1,23 @@
# Maintainer: FadeMind <fademind@gmail.com>

_commit=c45b4df6381a59111bdd6136bc0c75feb824f1c8
_commit=e7e2868ee8732a0b76612da92b72a7f7f77655e6
pkgname=manjarin-gtk-theme
pkgver=20180429
pkgrel=2
pkgver=20180430
pkgrel=1
pkgdesc='Manjarin is a GTK-theme developed for the Manjaro-Gnome Edition'
arch=('any')
url='https://github.com/FadeMind/manjarin-gtk-theme'
license=('GPL')
depends=('gtk2' 'gtk3' 'gtk-engine-murrine' 'gtk-engines')
optdepends=('adapta-maia-theme: for adapta-nokto-maia shell theme'
'papirus-maia-icon-theme: default icons theme for this theme')
makedepends=('cmake')
optdepends=('adapta-maia-theme: for adapta-nokto-maia shell theme'
'papirus-maia-icon-theme: default icons theme for this theme')
options=('!strip')
source=("${pkgname}.zip::${url}/archive/${_commit}.zip")
sha256sums=('a9aa84f2d396dd3d159b0296a100a51f70f65e365abdebde5bf710a98289e659')
sha256sums=('cf77e4b4281527330c30602a26df6e5ca5a0a6ea3c3a0f745cee55eda0e682e0')

pkgver() {
date +%Y%m%d
date +%Y%m%d
}

build() {
Expand Down

1 comment on commit 3fbc603

@Ste74
Copy link
Member Author

@Ste74 Ste74 commented on 3fbc603 Apr 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update hyper to last stable release and removed epoch array ( not pushed in boxit yet ). This mean for our user a cosmetic downgrade. This is the stable pkgs way .. if @codesardine you want also build the canary version ( development or pre release ) i suggest to create a separate package name. Like vlc ( stable ) and vlc-nightly ( development ) we can use hyper ( stable ) and hyper-canarian ( development ) or we can grab if needed a commit point to put in this pkg ( like a patch ) ..
@jonathonf you agree ?

Please sign in to comment.