Date: Wednesday, April 4, 2018 @ 06:53:00 Author: bpiotrowski Revision: 314089
archrelease: copy trunk to community-x86_64 Added: sigil/repos/community-x86_64/PKGBUILD (from rev 314088, sigil/trunk/PKGBUILD) Deleted: sigil/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 126 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-04 06:52:56 UTC (rev 314088) +++ PKGBUILD 2018-04-04 06:53:00 UTC (rev 314089) @@ -1,63 +0,0 @@ -# $Id$ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Maintainer: Alad Wenter <a...@mailbox.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> - -pkgname=sigil -pkgver=0.9.9 -pkgrel=1 -pkgdesc="WYSIWYG ebook editor" -arch=('x86_64') -url="https://sigil-ebook.com/" -license=('GPL3') -depends=('hicolor-icon-theme' 'hunspell' 'minizip' 'python-lxml' 'qt5-webkit') -makedepends=('qt5-tools' 'qt5-svg' 'cmake') -optdepends=('hunspell-en: for English dictionary support' - 'hyphen-en: for English hyphenation support in plugins' - 'python-html5lib: recommended for plugins' - 'python-chardet: recommended for plugins' - 'python-cssselect: recommended for plugins' - 'python-cssutils: recommended for plugins' - 'python-pillow: recommended for plugins' - 'python-regex: recommended for plugins') -source=("Sigil-${pkgver}.tar.gz::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.tar.gz" - "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig") -sha256sums=('12c1ace50598aef0a5e1397da3fdcd9c5ed9eba753c476d0ee5ab00a5d2d3764' - 'SKIP') -validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmas...@gmail.com> - -build() { - cd "${srcdir}/Sigil-${pkgver}" - - mkdir -p build - cd build - - cmake -G "Unix Makefiles" \ - -DUSE_SYSTEM_LIBS=1 \ - -DSYSTEM_LIBS_REQUIRED=1 \ - -DINSTALL_BUNDLED_DICTS=0 \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ - -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON .. - - make -} - -package() { - cd "${srcdir}"/Sigil-${pkgver}/build - make install DESTDIR="${pkgdir}" - - for _pic in 16 32 48 128 256; do - install -D -m 0644 ../src/Resource_Files/icon/app_icon_${_pic}.png \ - "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png - done - install -Dm644 ../src/Resource_Files/icon/app_icon_128.png \ - "$pkgdir/usr/share/pixmaps/$pkgname.png" - - # Compile python bytecode - python -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib} - python -O -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib} -} Copied: sigil/repos/community-x86_64/PKGBUILD (from rev 314088, sigil/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-04 06:53:00 UTC (rev 314089) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Maintainer: Alad Wenter <a...@mailbox.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> + +pkgname=sigil +pkgver=0.9.9 +pkgrel=2 +pkgdesc="WYSIWYG ebook editor" +arch=('x86_64') +url="https://sigil-ebook.com/" +license=('GPL3') +depends=('hicolor-icon-theme' 'hunspell' 'minizip' 'python-lxml' 'qt5-webkit') +makedepends=('qt5-tools' 'qt5-svg' 'cmake') +optdepends=('hunspell-en: for English dictionary support' + 'hyphen-en: for English hyphenation support in plugins' + 'python-html5lib: recommended for plugins' + 'python-chardet: recommended for plugins' + 'python-cssselect: recommended for plugins' + 'python-cssutils: recommended for plugins' + 'python-pillow: recommended for plugins' + 'python-regex: recommended for plugins') +source=("Sigil-${pkgver}.tar.gz::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.tar.gz" + "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig") +sha256sums=('12c1ace50598aef0a5e1397da3fdcd9c5ed9eba753c476d0ee5ab00a5d2d3764' + 'SKIP') +validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmas...@gmail.com> + +build() { + cd "${srcdir}/Sigil-${pkgver}" + + mkdir -p build + cd build + + cmake -G "Unix Makefiles" \ + -DUSE_SYSTEM_LIBS=1 \ + -DSYSTEM_LIBS_REQUIRED=1 \ + -DINSTALL_BUNDLED_DICTS=0 \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON .. + + make +} + +package() { + cd "${srcdir}"/Sigil-${pkgver}/build + make install DESTDIR="${pkgdir}" + + for _pic in 16 32 48 128 256; do + install -D -m 0644 ../src/Resource_Files/icon/app_icon_${_pic}.png \ + "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png + done + install -Dm644 ../src/Resource_Files/icon/app_icon_128.png \ + "$pkgdir/usr/share/pixmaps/$pkgname.png" + + # Compile python bytecode + python -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib} + python -O -m compileall "${pkgdir}"/usr/share/sigil/{plugin_launchers/python/,python3lib} +}