mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:33:20 +08:00
This commit is contained in:
parent
1be284d3ec
commit
ba29f141c8
@ -1,7 +1,7 @@
|
||||
pkgname=sigil
|
||||
_pkgname=Sigil
|
||||
pkgver=0.9.8
|
||||
pkgrel=2
|
||||
pkgver=0.9.10
|
||||
pkgrel=1
|
||||
pkgdesc="A multi-platform WYSIWYG ebook editor. It is designed to edit books in ePub format."
|
||||
arch=('x86_64')
|
||||
url="http://sigil-ebook.com/"
|
||||
@ -9,11 +9,11 @@ license=('GPL3')
|
||||
depends=('qt5-webkit' 'hicolor-icon-theme' 'python3' 'python3-lxml>=3.5.0' 'python3-six' 'python3-html5lib' 'python3-chardet' 'python3-cssselect' 'python3-cssutils' 'python3-pillow' 'python3-regex')
|
||||
makedepends=('qt5-multimedia' 'qt5-tools' 'qt5-svg' 'cmake')
|
||||
categories=('office')
|
||||
install=sigil.install
|
||||
source=("${pkgname}-${pkgver}.zip::https://github.com/user-none/Sigil/releases/download/${pkgver}/${_pkgname}-${pkgver}-Code.zip")
|
||||
sha256sums=('78f9f200c86da326984543bd86cbb8eab91308a5a4d7f8cfcc88eb9b0779749a')
|
||||
source=("${pkgname}-${pkgver}.zip::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.tar.gz")
|
||||
sha256sums=('294954c4c2b3f1f9348d4f1bff18edebaba44afae901be3900154778b2f877ed')
|
||||
|
||||
build() {
|
||||
cd $_pkgname-$pkgver
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
@ -22,17 +22,18 @@ build() {
|
||||
-DCMAKE_C_FLAGS:STRING="$CFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=ON .. \
|
||||
-DUSE_SYSTEM_LIBS=OFF
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DUSE_SYSTEM_LIBS=OFF ..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pkgname-$pkgver
|
||||
cd build
|
||||
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
install -Dm0644 $srcdir/src/Resource_Files/freedesktop/$pkgname.desktop \
|
||||
install -Dm0644 $srcdir/$_pkgname-$pkgver/src/Resource_Files/freedesktop/$pkgname.desktop \
|
||||
$pkgdir/usr/share/applications/$pkgname.desktop
|
||||
|
||||
for _pic in 16 32 48 128 256; do
|
||||
|
@ -1,12 +0,0 @@
|
||||
post_install() {
|
||||
update-desktop-database -q
|
||||
xdg-icon-resource forceupdate --theme hicolor
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user