* update ebook-tools to 0.2.2-8
This commit is contained in:
parent
3ffa18d302
commit
526a4b54b4
19
ebook-tools/.SRCINFO
Normal file
19
ebook-tools/.SRCINFO
Normal file
@ -0,0 +1,19 @@
|
||||
pkgbase = ebook-tools
|
||||
pkgdesc = Tools for accessing and converting various ebook file formats
|
||||
pkgver = 0.2.2
|
||||
pkgrel = 8
|
||||
url = https://sourceforge.net/projects/ebook-tools/
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = cmake
|
||||
depends = convertlit
|
||||
depends = glibc
|
||||
depends = libxml2
|
||||
depends = libzip
|
||||
depends = sh
|
||||
source = https://downloads.sourceforge.net/ebook-tools/ebook-tools-0.2.2.tar.gz
|
||||
source = crash-fix.patch
|
||||
sha256sums = cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae
|
||||
sha256sums = ad556ce08909727a6022c9f1632086ccb8623a81a4f39cd34722e22116e14527
|
||||
|
||||
pkgname = ebook-tools
|
4
ebook-tools/.nvchecker.toml
Normal file
4
ebook-tools/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[ebook-tools]
|
||||
source = 'regex'
|
||||
url = 'https://sourceforge.net/projects/ebook-tools/files/'
|
||||
regex = 'ebook-tools/([\d.]+)/'
|
@ -4,36 +4,35 @@
|
||||
|
||||
pkgname=ebook-tools
|
||||
pkgver=0.2.2
|
||||
pkgrel=7
|
||||
pkgdesc="Tools for accessing and converting various ebook file formats"
|
||||
pkgrel=8
|
||||
pkgdesc='Tools for accessing and converting various ebook file formats'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url="https://sourceforge.net/projects/ebook-tools/"
|
||||
license=(custom)
|
||||
depends=(libzip libxml2 convertlit)
|
||||
url='https://sourceforge.net/projects/ebook-tools/'
|
||||
license=(MIT)
|
||||
depends=(convertlit
|
||||
glibc
|
||||
libxml2
|
||||
libzip
|
||||
sh)
|
||||
makedepends=(cmake)
|
||||
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
|
||||
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
|
||||
crash-fix.patch)
|
||||
sha256sums=('cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae'
|
||||
'ad556ce08909727a6022c9f1632086ccb8623a81a4f39cd34722e22116e14527')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
||||
cd $pkgname-$pkgver
|
||||
patch -p2 -i ../crash-fix.patch # https://sourceforge.net/p/ebook-tools/bugs/8/
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
|
||||
install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE \
|
||||
-t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user