mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
peruse imported FS1784
This commit is contained in:
parent
6c0c64a0d3
commit
a1a09917b5
33
peruse/PKGBUILD
Normal file
33
peruse/PKGBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
pkgname=peruse
|
||||
pkgver=1.2
|
||||
pkgrel=1
|
||||
pkgdesc="A comic book reader. It gets out of your way and let you read your comics, comfortably"
|
||||
license=('GPL')
|
||||
arch=('x86_64')
|
||||
url="https://peruse.kde.org/"
|
||||
depends=('qt5-base' 'karchive' 'baloo' 'ki18n' 'kdeclarative' 'kconfig' 'kfilemetadata' 'kiconthemes' 'kio' 'kirigami')
|
||||
makedepends=('extra-cmake-modules')
|
||||
categories=('office')
|
||||
options=('debug')
|
||||
install=peruse.install
|
||||
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
||||
sha1sums=('1f91d84086e71dcd6e2a853aac04dfd50bc7fc9a')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$pkgname \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DKDE_INSTALL_LIBDIR=lib \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
12
peruse/peruse.install
Normal file
12
peruse/peruse.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user