community/sigil to 0.9.0-1

This commit is contained in:
Kevin Mihelich 2015-11-16 19:08:20 +00:00
parent 6cf606082e
commit fd785380c2

View file

@ -6,22 +6,22 @@
# - depend on xerces-c to avoid x86isms in bundled version
pkgname=sigil
pkgver=0.8.7
pkgrel=2
pkgver=0.9.0
pkgrel=1
pkgdesc="WYSIWYG ebook editor"
arch=('i686' 'x86_64')
url="https://github.com/user-none/Sigil/"
url="http://sigil-ebook.com/"
license=('GPL3')
depends=('qt5-webkit' 'boost-libs' 'python' 'hicolor-icon-theme' 'xerces-c')
makedepends=('qt5-multimedia' 'qt5-tools' 'qt5-svg' 'cmake' 'boost')
depends=('qt5-webkit' 'python' 'hicolor-icon-theme' 'python-lxml' 'minizip' 'hunspell' 'xerces-c')
makedepends=('qt5-multimedia' 'qt5-tools' 'qt5-svg' 'cmake')
install=sigil.install
source=("https://github.com/user-none/Sigil/releases/download/${pkgver}/Sigil-${pkgver}-Code.zip")
md5sums=('1eae1cc28f46f3d0fad185a3b5e34025')
source=("Sigil-${pkgver}.zip::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.zip")
md5sums=('a3be456087cd98bde72b08e20f22047c')
build() {
cd "${srcdir}/Sigil-${pkgver}"
mkdir build
mkdir -p build
cd build
cmake -G "Unix Makefiles" \
@ -29,7 +29,8 @@ build() {
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON ..
-DCMAKE_SKIP_RPATH=ON .. \
-DUSE_SYSTEM_LIBS=ON
make
}
@ -39,9 +40,9 @@ package() {
make install DESTDIR="${pkgdir}"
for _pic in 16 32 48 128 256; do
install -D -m 0644 ../src/Sigil/Resource_Files/icon/app_icon_${_pic}.png \
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/Sigil/Resource_Files/icon/app_icon_128.png \
install -Dm644 ../src/Resource_Files/icon/app_icon_128.png \
"$pkgdir/usr/share/pixmaps/$pkgname.png"
}