peruse imported FS1784

This commit is contained in:
gnastyle 2017-01-25 23:18:26 +01:00
parent 6c0c64a0d3
commit a1a09917b5
2 changed files with 45 additions and 0 deletions

33
peruse/PKGBUILD Normal file
View 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
View 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
}