Package Details: foliate-git 1.5.3.r10.gd35e3e6-1

Git Clone URL: https://aur.archlinux.org/foliate-git.git (read-only, click to copy)
Package Base: foliate-git
Description: A simple and modern GTK eBook reader
Upstream URL: https://johnfactotum.github.io/foliate/
Keywords: azw azw3 ebook-reader epub foliate gjs gtk mobi
Licenses: GPL-3.0
Conflicts: foliate
Provides: foliate
Replaces: foliate
Submitter: schw0reismus
Maintainer: schw0reismus
Last Packager: schw0reismus
Votes: 3
Popularity: 0.55
First Submitted: 2019-05-31 12:22
Last Updated: 2019-07-31 08:43

Dependencies (11)

Required by (0)

Sources (1)

Latest Comments

Kaliwaal commented on 2020-07-07 15:09

Updated PKGBUILD for Version 2.4.2

Maintainer: schw0reismus schw0reismus@protonmail.com
pkgname=foliate-git 
pkgver=2.4.2 
pkgrel=1 
pkgdesc="A simple and modern GTK eBook reader" 
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') 
url="https://github.com/johnfactotum/foliate.git" 
license=('GPL-3.0') 
depends=('gjs>=1.52.0' 'webkit2gtk' 'gettext') 
makedepends=('meson>=0.40' 'ninja' 'git') 
optdepends=('hyphen: Auto-hyphenation support' 'hyphen-en: Hyphenation rules for English; you may >choose package for your language' 'dictd: Offline dictionary support' 'festival: Text-to-speech support' 'espeak-ng: Text-to-speech support' ) 
source=("${pkgname%-git}::git+https://github.com/johnfactotum/foliate.git") 
provides=("${pkgname%-git}") 
replaces=("${pkgname%-git}") 
conflicts=("${pkgname%-git}") 
md5sums=('SKIP')

pkgver() { 
    cd "${pkgname%-git}" 
    git describe --long --tags | sed 's/([^-]*-g)/r/;s/-/./g' 
    }

build() { 
cd "$srcdir"/"${pkgname%-git}" 
meson build --prefix=/usr 
ninja -C build 
}

package(){ 
cd "$srcdir"/"${pkgname%-git}" 
DESTDIR="$pkgdir" 
ninja -C build install
}

@darktimesahead: You are welcome.

darktimesahead commented on 2020-06-18 07:18

@Kaliwaal, thank you.

Kaliwaal commented on 2020-06-04 14:12

This modified PKGBUILD helped me.

<h1>Maintainer: schw0reismus schw0reismus@protonmail.com</h1>

pkgname=foliate-git pkgver=2.2.0.r9.gd13980e pkgrel=1 pkgdesc="A simple and modern GTK eBook reader" arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/johnfactotum/foliate.git" license=('GPL-3.0') depends=('gjs>=1.52.0' 'webkit2gtk' 'gettext') makedepends=('meson>=0.40' 'ninja' 'git') optdepends=('hyphen: Auto-hyphenation support' 'hyphen-en: Hyphenation rules for English; you may >choose package for your language' 'dictd: Offline dictionary support' 'festival: Text-to-speech support' 'espeak-ng: Text-to-speech support' ) source=("${pkgname%-git}::git+https://github.com/johnfactotum/foliate.git") provides=("${pkgname%-git}") replaces=("${pkgname%-git}") conflicts=("${pkgname%-git}") md5sums=('SKIP')

pkgver() { cd "${pkgname%-git}" git describe --long --tags | sed 's/([^-]*-g)/r\1/;s/-/./g' }

build() { cd "$srcdir"/"${pkgname%-git}" meson build --prefix=/usr ninja -C build }

package(){ cd "$srcdir"/"${pkgname%-git}" DESTDIR="$pkgdir" ninja -C build install }

schw0reismus commented on 2019-07-05 09:29

@morealaz, thank you very much for your help!

Anonymous comment on 2019-07-05 08:26

@schw0reismus: you can use ${pkgname%-git} instead of $_name in PKGBUILD and use following pkgver() funcion to use latest tag in version number:

pkgver() {
    cd "${pkgname%-git}"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}