diff options
author | frantic1048 | 2017-05-18 18:49:35 +0800 |
---|---|---|
committer | frantic1048 | 2017-05-18 18:49:35 +0800 |
commit | d56f07d96ba04876b354741693ca85b26a7ba45c (patch) | |
tree | b63bf8addd5205a30b8e8d5ef8603af573922878 | |
parent | e0d41c5f86fe13832b78a318951514547818c21b (diff) | |
download | aur-d56f07d96ba04876b354741693ca85b26a7ba45c.tar.gz |
1.17.0
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | apm-python2.patch | 4 | ||||
-rw-r--r-- | atom-editor-transparent.install | 4 |
4 files changed, 21 insertions, 21 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Apr 27 05:16:18 UTC 2017 +# Thu May 18 10:48:50 UTC 2017 pkgbase = atom-editor-transparent pkgdesc = Atom is a hackable text editor for the 21st century built on Electron - with transparent background support - pkgver = 1.17.0.beta3 + pkgver = 1.17.0.0 pkgrel = 1 url = https://github.com/atom/atom install = atom-editor-transparent.install @@ -33,12 +33,12 @@ pkgbase = atom-editor-transparent conflicts = apm conflicts = atom-notracking options = !strip - source = https://github.com/atom/atom/archive/v1.17.0-beta3.tar.gz + source = https://github.com/atom/atom/archive/v1.17.0.tar.gz source = atom-transparent.patch source = apm-python2.patch - sha384sums = fe31f6cad10d2e688189e4ca8ddb90f77cd70ccdae28cc0e866e30512ccf85495c35b299fab92eb9037c21cc1fcc73a3 + sha384sums = abc4154731856bd52dc86d29fb80894a6aaf791016441fde40bfd7be505b08c3b751644658f7e1d1321893c282a9e4b2 sha384sums = 614d682bdca79ca91d6753eef0fccfe4f5b322688c9d82adcd95e5dd07e33052e703f1fa7335828a4c8af74540966dba - sha384sums = e31e665a85bdc289153350e98b4bbe3ef42aa0e35a5c7d3d14abd0d32ee7bd117effc2d1593a2d118aeac4f4fbfec958 + sha384sums = 7b28df309d5aae71a71edca781537b808c507ca156f6e7c559f6f8482fc450eb3c8c9e15b10ac9570302c652666cbc2f pkgname = atom-editor-transparent @@ -2,9 +2,8 @@ # Upstream URL: https://github.com/atom/atom pkgname=atom-editor-transparent -_pkgverprefix=1.17.0 -_pkgverpostfix=beta3 -pkgver=$_pkgverprefix.$_pkgverpostfix +_atomver=1.17.0 +pkgver=1.17.0.0 pkgrel=1 pkgdesc="Atom is a hackable text editor for the 21st century built on Electron - with transparent background support" arch=('x86_64') @@ -18,10 +17,11 @@ optdepends=('gvfs: file deletion support') conflicts=('atom' 'atom-editor' 'atom-editor-bin' 'atom-editor-git' 'atom-editor-git-tagged' 'apm' 'atom-notracking') install=$pkgname.install -sha384sums=('fe31f6cad10d2e688189e4ca8ddb90f77cd70ccdae28cc0e866e30512ccf85495c35b299fab92eb9037c21cc1fcc73a3' +sha384sums=('abc4154731856bd52dc86d29fb80894a6aaf791016441fde40bfd7be505b08c3b751644658f7e1d1321893c282a9e4b2' '614d682bdca79ca91d6753eef0fccfe4f5b322688c9d82adcd95e5dd07e33052e703f1fa7335828a4c8af74540966dba' - 'e31e665a85bdc289153350e98b4bbe3ef42aa0e35a5c7d3d14abd0d32ee7bd117effc2d1593a2d118aeac4f4fbfec958') -source=("https://github.com/atom/atom/archive/v${_pkgverprefix}-${_pkgverpostfix}.tar.gz" + '7b28df309d5aae71a71edca781537b808c507ca156f6e7c559f6f8482fc450eb3c8c9e15b10ac9570302c652666cbc2f') + +source=("https://github.com/atom/atom/archive/v${_atomver}.tar.gz" "atom-transparent.patch" "apm-python2.patch") @@ -36,24 +36,24 @@ prepare() { export PATH=$(realpath _bin/):$PATH # pre-build patches - cd ${srcdir}/atom-${_pkgverprefix}-${_pkgverpostfix} + cd ${srcdir}/atom-${_atomver} echo "applying atom-transparent.patch" patch -p1 < "${srcdir}"/atom-transparent.patch } - +# https://github.com/atom/atom/archive/v1.17.0.tar.gz build() { - cd ${srcdir}/atom-${_pkgverprefix}-${_pkgverpostfix} + cd ${srcdir}/atom-${_atomver} mkdir -p ${srcdir}/install ./script/build --install=${srcdir}/install cd ${srcdir}/install - echo "patching atom-beta.destkop..." + echo "patching atom.destkop..." sed -i \ - -e 's/Exec=.*/Exec=env PYTHON=python2 \/usr\/share\/atom-beta\/atom --enable-transparent-visuals --disable-gpu %U/' \ + -e 's/Exec=.*/Exec=env PYTHON=python2 \/usr\/share\/atom\/atom --enable-transparent-visuals --disable-gpu %U/' \ -e 's/Icon=.*/Icon=atom/' \ -e '/StartupNotify/ a StartupWMClass=Atom' \ - share/applications/atom-beta.desktop + share/applications/atom.desktop echo "applying apm-python2.patch" patch -p1 < "${srcdir}"/apm-python2.patch diff --git a/apm-python2.patch b/apm-python2.patch index 6842db458047..c36bc0d7c53b 100644 --- a/apm-python2.patch +++ b/apm-python2.patch @@ -1,5 +1,5 @@ ---- a/share/atom-beta/resources/app/apm/bin/apm -+++ b/share/atom-beta/resources/app/apm/bin/apm +--- a/share/atom/resources/app/apm/bin/apm ++++ b/share/atom/resources/app/apm/bin/apm @@ -2,6 +2,8 @@ set -e diff --git a/atom-editor-transparent.install b/atom-editor-transparent.install index f5560b18a58c..4c57de829df7 100644 --- a/atom-editor-transparent.install +++ b/atom-editor-transparent.install @@ -10,9 +10,9 @@ specific UI theme you are using. If you use tia-ui theme then just that line is enough. -To run directly with /usr/bin/atom-beta, use like this: +To run directly with /usr/bin/atom, use like this: - atom-beta --enable-transparent-visuals --disable-gpu + atom --enable-transparent-visuals --disable-gpu append more option as you like. EOF |