diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | .gitignore | 16 | ||||
-rw-r--r-- | PKGBUILD | 17 |
3 files changed, 31 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = atom-editor-bin pkgdesc = Hackable text editor built on Electron (official precompiled binary) - pkgver = 1.30.0 + pkgver = 1.31.1 pkgrel = 1 url = https://github.com/atom/atom install = atom-editor-bin.install @@ -28,10 +28,15 @@ pkgbase = atom-editor-bin conflicts = apm conflicts = atom-notracking options = !strip - source = atom-amd64-v1.30.0.deb::https://atom-installer.github.com/v1.30.0/atom-amd64.deb + options = !emptydirs + source = atom-amd64-v1.31.1.deb::https://atom-installer.github.com/v1.31.1/atom-amd64.deb + source = LICENSE::https://raw.githubusercontent.com/atom/atom/v1.31.1/LICENSE.md + source = atom-editor-bin.install source = atom-python.patch source = startupwmclass.patch - sha512sums = 29ba784ab2d8a44508eda7089ff859f4bdd6196587a3d88ab6365dc17ac94980178481272213c4ed6f7a38d333a81f27fb8d0a974a61cad264b704d321e50dc6 + sha512sums = b2533169a9636702c32dc11100c33005b3a107ff311819cd5074cd43e4400b81f3948fab226bbabe1b0e29426f1461b3cb4e28f93366e1c6a052e02f2f9f7c8e + sha512sums = 4946629b14a57a57a3849fc3ff7f43779b55e1883383949212ccb6cb7bb4867edffb927f9d85cb2717b932c4f5162140d421e19df031edc7ea384ee93d93b2a4 + sha512sums = e30f7e4812898b80c079ba419e0cb37522c2e154ef7fdd6dda3da06dcbcaadc42016dd3d3b8caf206b842a2b9e3b954e537626d72337c56f05365a733627ce6c sha512sums = 66aa0c1d574def8691c0059f3b26d4b820c430a146db73c23e31a85f7d4894a3b710cef14726c3bebcc88c8c91149012d6caa4e27e62608fe7022516c10e45fe sha512sums = 374b9f8fa1e0d2cab77d4cea9c718fb889bb6db3dbf9762ad5cbb88f3a0936023f36641012fc90e029832a772b8d4fdfe6b72f304e3950c02a7c9bf4d6d3d4ec diff --git a/.gitignore b/.gitignore index fd287aeafcde..cc9e1be83f5a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,18 @@ +# Directories +pkg +src + +# Archives *.tar *.tar.* *.zip *.tgz +*.sig +*.deb + +# Logs *.log *.log.* -*.sig -pkg/ -src/ -# atom deb package -*.deb +# Misc +LICENSE @@ -6,24 +6,28 @@ # Contributor: Danny Arnold <despair.blue at gmail dot com> pkgname=atom-editor-bin -pkgver=1.30.0 +pkgver=1.31.1 pkgrel=1 pkgdesc="Hackable text editor built on Electron (official precompiled binary)" arch=('x86_64') url="https://github.com/atom/atom" license=('MIT') provides=('atom' 'apm') -options=(!strip) +options=(!strip !emptydirs) depends=('git' 'gconf' 'gtk2' 'libnotify' 'libxtst' 'nss' 'python2' 'xdg-utils' 'desktop-file-utils' 'alsa-lib' 'libgnome-keyring' 'libxss') optdepends=('gvfs') conflicts=('atom' 'atom-editor' 'atom-editor-git' 'atom-editor-git-tagged' 'apm' 'atom-notracking') install=$pkgname.install -sha512sums=('29ba784ab2d8a44508eda7089ff859f4bdd6196587a3d88ab6365dc17ac94980178481272213c4ed6f7a38d333a81f27fb8d0a974a61cad264b704d321e50dc6' - '66aa0c1d574def8691c0059f3b26d4b820c430a146db73c23e31a85f7d4894a3b710cef14726c3bebcc88c8c91149012d6caa4e27e62608fe7022516c10e45fe' - '374b9f8fa1e0d2cab77d4cea9c718fb889bb6db3dbf9762ad5cbb88f3a0936023f36641012fc90e029832a772b8d4fdfe6b72f304e3950c02a7c9bf4d6d3d4ec') source=("atom-amd64-v${pkgver}.deb::https://atom-installer.github.com/v${pkgver}/atom-amd64.deb" + "LICENSE::https://raw.githubusercontent.com/atom/atom/v${pkgver}/LICENSE.md" + atom-editor-bin.install atom-python.patch startupwmclass.patch) +sha512sums=('b2533169a9636702c32dc11100c33005b3a107ff311819cd5074cd43e4400b81f3948fab226bbabe1b0e29426f1461b3cb4e28f93366e1c6a052e02f2f9f7c8e' + '4946629b14a57a57a3849fc3ff7f43779b55e1883383949212ccb6cb7bb4867edffb927f9d85cb2717b932c4f5162140d421e19df031edc7ea384ee93d93b2a4' + 'e30f7e4812898b80c079ba419e0cb37522c2e154ef7fdd6dda3da06dcbcaadc42016dd3d3b8caf206b842a2b9e3b954e537626d72337c56f05365a733627ce6c' + '66aa0c1d574def8691c0059f3b26d4b820c430a146db73c23e31a85f7d4894a3b710cef14726c3bebcc88c8c91149012d6caa4e27e62608fe7022516c10e45fe' + '374b9f8fa1e0d2cab77d4cea9c718fb889bb6db3dbf9762ad5cbb88f3a0936023f36641012fc90e029832a772b8d4fdfe6b72f304e3950c02a7c9bf4d6d3d4ec') prepare() { # Extract data @@ -42,4 +46,7 @@ package() { # Recursively remove group's write permission before moving to package directory chmod -R g-w usr mv usr "${pkgdir}" + + # Add LICENSE + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE } |