diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 11 deletions
@@ -1,16 +1,16 @@ # Generated by mksrcinfo v8 -# Sun Mar 13 08:31:50 UTC 2016 +# Sat Mar 26 17:54:00 UTC 2016 pkgbase = gitbook-editor pkgdesc = Gitbook Editor - Write and publish books pkgver = 5.0.4 - pkgrel = 1 + pkgrel = 2 url = https://www.gitbook.com/editor/linux arch = i686 arch = x86_64 license = custom - source_i686 = gitbook-editor-5.0.4-linux-ia32.deb::https://www.gitbook.com/editor/linux-32-bit/download + source_i686 = gitbook-editor-5.0.4-linux-ia32.deb::http://downloads.editor.gitbook.com/download/version/5.0.4/linux-ia32 sha256sums_i686 = f2bd5b76ad037faf254be796cdc86e19c5e99a760cd17aa3560b0e0cc9aa6ce1 - source_x86_64 = gitbook-editor-5.0.4-linux-x64.deb::https://www.gitbook.com/editor/linux-64-bit/download + source_x86_64 = gitbook-editor-5.0.4-linux-x64.deb::http://downloads.editor.gitbook.com/download/version/5.0.4/linux-x64 sha256sums_x86_64 = fff40d479ad0e9770a7e1796dbb5c8c2aeda996fab576fb698fd6f2af1b7f7bd pkgname = gitbook-editor @@ -2,14 +2,14 @@ pkgname=gitbook-editor pkgver=5.0.4 -pkgrel=1 +pkgrel=2 pkgdesc="Gitbook Editor - Write and publish books" arch=('i686' 'x86_64') url="https://www.gitbook.com/editor/linux" license=('custom') -source_x86_64=("gitbook-editor-${pkgver}-linux-x64.deb::https://www.gitbook.com/editor/linux-64-bit/download") -source_i686=("gitbook-editor-${pkgver}-linux-ia32.deb::https://www.gitbook.com/editor/linux-32-bit/download") +source_x86_64=("gitbook-editor-${pkgver}-linux-x64.deb::http://downloads.editor.gitbook.com/download/version/${pkgver}/linux-x64") +source_i686=("gitbook-editor-${pkgver}-linux-ia32.deb::http://downloads.editor.gitbook.com/download/version/${pkgver}/linux-ia32") sha256sums_x86_64=('fff40d479ad0e9770a7e1796dbb5c8c2aeda996fab576fb698fd6f2af1b7f7bd') sha256sums_i686=('f2bd5b76ad037faf254be796cdc86e19c5e99a760cd17aa3560b0e0cc9aa6ce1') @@ -19,13 +19,10 @@ prepare() { } package() { - # Copy files - cp -r {opt,usr} "${pkgdir}" + cp --preserve=mode -r {opt,usr} "${pkgdir}" - # Permission fix find "${pkgdir}" -type d -exec chmod 755 {} + - # Move license install -dm755 ${pkgdir}/usr/share/licenses/${pkgname} mv ${pkgdir}/opt/gitbook-editor/LICENSE ${pkgdir}/usr/share/licenses/${pkgname} } |