diff options
author | M4D | 2016-03-26 18:54:48 +0100 |
---|---|---|
committer | M4D | 2016-03-26 18:54:48 +0100 |
commit | faf6ccfb13549af605c011078cb932f73bba385e (patch) | |
tree | faee3d413c49ce847082533a1b40bfe8850ec804 /PKGBUILD | |
parent | 06dbc9793078c08ba9f8023cddc0a6fddf604dda (diff) | |
download | aur-faf6ccfb13549af605c011078cb932f73bba385e.tar.gz |
Update URLs to nuts instance
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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} } |